Skip to content
Snippets Groups Projects
Commit 85a21016 authored by Philipp Schmidt's avatar Philipp Schmidt
Browse files

Allow only corrections to be disabled in data mappings

parent 9fe89b8d
No related branches found
No related tags found
1 merge request!611Allow only corrections to be disabled in data mappings
......@@ -898,6 +898,12 @@ class ActionsServer:
detectors = {}
for karabo_id in pconf:
dconfig = data_conf[karabo_id]
if dconfig.get('disable-correct', False):
# Skip this detector installation for
# corrections if disabled.
continue
# check for files according to mapping in raw run dir.
if any(y in x for x in fl
for y in dconfig['karabo-da']):
......
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