From 2e0fda39a25ed61cb2d5886b8b95c84ba7428e61 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lenain Date: Wed, 2 Oct 2024 17:11:16 +0200 Subject: [PATCH] Reverse order of run list in Bokeh (#152) Co-authored-by: Jean-Philippe Lenain --- src/nectarchain/dqm/bokeh_app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nectarchain/dqm/bokeh_app/main.py b/src/nectarchain/dqm/bokeh_app/main.py index 700f7601..78903db2 100644 --- a/src/nectarchain/dqm/bokeh_app/main.py +++ b/src/nectarchain/dqm/bokeh_app/main.py @@ -59,7 +59,7 @@ def update_camera_displays(attr, old, new): print("Opening connection to ZODB") db = DQMDB(read_only=True).root print("Getting list of run numbers") -runids = sorted(list(db.keys())) +runids = sorted(list(db.keys()), reverse=True) # First, get the run id with the most populated result dictionary # On the full DB, this takes an awful lot of time, and saturates the RAM on the host