Skip to content

Commit 0acdaf1

Browse files
committed
Treat "all" in detector list cleaning
1 parent 35d151b commit 0acdaf1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

MC/bin/o2dpg_sim_workflow.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,8 @@ def load_external_config(configfile):
295295
# function to finalize detector source lists based on activeDetectors
296296
# detector source lists are comma separated lists of DET1, DET2, DET1-DET2, ...
297297
def cleanDetectorInputList(inputlist):
298+
if inputlist == "all":
299+
return inputlist
298300
sources_list = inputlist.split(",")
299301
# Filter the sources
300302
filtered_sources = [

0 commit comments

Comments
 (0)