Commit 1f178bf9 authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Merge branch 'fix194' into 'master'

Fixed behaviour when when only one detector is being used and coherence-test=True

Closes #194

See merge request !370
parents 68e07afd 1705535e
Pipeline #169402 passed with stage
in 2 minutes and 43 seconds
......@@ -38,7 +38,7 @@ def get_trigger_time_list(inputs):
def get_detectors_list(inputs):
detectors_list = []
detectors_list.append(inputs.detectors)
if inputs.coherence_test:
if inputs.coherence_test and len(inputs.detectors) > 1:
for detector in inputs.detectors:
detectors_list.append([detector])
return detectors_list
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment