Skip to content
Snippets Groups Projects
Commit 7c0b0e19 authored by Karim Ahmed's avatar Karim Ahmed
Browse files

Add JUNGF and PEP 8 on the line

parent 2cb03180
Branches fix/add_JUNGF_webservice_3runs
No related tags found
1 merge request!922Add JUNGF and PEP 8 on the line
...@@ -1282,8 +1282,18 @@ class ActionsServer: ...@@ -1282,8 +1282,18 @@ class ActionsServer:
# Notebooks require one or three runs, depending on the # Notebooks require one or three runs, depending on the
# detector type and operation mode. # detector type and operation mode.
triple = any(det in karabo_id for det in triple = any(
["LPD", "AGIPD", "JUNGFRAU", "JF", "JNGFR", "GH2", "G2"]) det in karabo_id for det in
[
"LPD",
"AGIPD",
"JUNGFRAU",
"JF",
"JNGFR",
"JUNGF",
"GH2",
"G2",
])
# This fails silently if the hardcoded strings above are # This fails silently if the hardcoded strings above are
# ever changed (triple = False) but the underlying notebook # ever changed (triple = False) but the underlying notebook
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment