From 89aa7a89c185be6014f30132d46004fe0c32aab1 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lenain Date: Wed, 2 Oct 2024 15:31:05 +0200 Subject: [PATCH] Reverse order of run list in Bokeh --- 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