1 parent 4b2ac04 commit 768e660Copy full SHA for 768e660
1 file changed
MC/bin/o2dpg_sim_workflow_anchored.py
@@ -742,7 +742,7 @@ def main():
742
forwardargs += " -tf " + str(args.tf) + " --sor " + str(effective_run_start) + " --timestamp " + str(timestamp) + " --production-offset " + str(prod_offset) + " -run " + str(args.run_number) + " --run-anchored --first-orbit " \
743
+ str(effective_first_orbit) + " --orbitsPerTF " + str(GLOparams["OrbitsPerTF"]) + str(energyarg)
744
# the following options can be overwritten/influenced from the outside
745
- if not '-col' in forwardargs:
+ if not re.search(r'(?<!\S)-col(?=[\s=])', forwardargs):
746
forwardargs += ' -col ' + ColSystem
747
if not '--readoutDets' in forwardargs:
748
forwardargs += ' --readoutDets ' + GLOparams['detList']
0 commit comments