From f768bb1e431e9ec09626ce6db00290267f107989 Mon Sep 17 00:00:00 2001 From: ahmedk <karim.ahmed@xfel.eu> Date: Tue, 26 Jul 2022 08:17:54 +0200 Subject: [PATCH] Update the hardcoded list of det substring in karabo_id --- webservice/webservice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webservice/webservice.py b/webservice/webservice.py index 02f682daf..0984ac4c7 100644 --- a/webservice/webservice.py +++ b/webservice/webservice.py @@ -1020,7 +1020,7 @@ class ActionsServer: # Notebooks require one or three runs, depending on the # detector type and operation mode. triple = any(det in karabo_id for det in - ["LPD", "AGIPD", "JUNGFRAU", "JF", "JNGFR"]) + ["LPD", "AGIPD", "JUNGFRAU", "JF", "JNGFR", "G2"]) # This fails silently if the hardcoded strings above are # ever changed (triple = False) but the underlying notebook -- GitLab