Commit 1cd66f44 authored by Leo Pound Singer's avatar Leo Pound Singer

Oops, switch hold and remove conditions

Original: d3a3d012c25fe5e5a1c1dfefa2019073e157d7d1
parent 2a404f19
......@@ -109,8 +109,8 @@ if opts.condor_submit:
coinc_event_ids = [int(coinc.coinc_event_id) for coinc, _ in
ligolw_bayestar.coinc_and_sngl_inspirals_for_xmldoc(xmldoc)]
cmd = ['condor_submit', 'accounting_group=ligo.dev.o3.cbc.pe.bayestar',
'on_exit_hold = (ExitBySignal == False) && (ExitCode == 0)',
'on_exit_remove = (ExitBySignal == True) || (ExitCode != 0)',
'on_exit_remove = (ExitBySignal == False) && (ExitCode == 0)',
'on_exit_hold = (ExitBySignal == True) || (ExitCode != 0)',
'universe=vanilla', 'getenv=true', 'executable=' + sys.executable,
'JobBatchName=BAYESTAR', 'environment="OMP_NUM_THREADS=1"',
'error=' + os.path.join(opts.output, '$(CoincEventId).err'),
......
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