Commit 1705535e authored by Aditya Vijaykumar's avatar Aditya Vijaykumar

changed if statement

parent 68e07afd
......@@ -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