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

Merge branch 'feat/disable-correct-per-detector' into 'master'

Allow only corrections to be disabled in data mappings

See merge request detectors/pycalibration!611
parents 9fe89b8d 85a21016
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