Commit 4bfd3158 authored by John Douglas Veitch's avatar John Douglas Veitch 💬
Browse files

lalinference_pipe: Write out the full DAG path for instructions to submit

Original: c5c00c9f4e91dbe0c5c47421742e2a3f61256fc1
parent 4d131379
......@@ -116,13 +116,14 @@ dag.write_script()
# End of program
print 'Successfully created DAG file.'
print 'Now run condor_submit_dag %s\n'%(dag.get_dag_file())
print 'Now run condor_submit_dag %s\n'%(fulldagpath)
if opts.condor_submit:
import subprocess
from subprocess import Popen
x = subprocess.Popen(['condor_submit_dag',dag.get_dag_file()])
x = subprocess.Popen(['condor_submit_dag',fulldagpath])
if x.returncode==0:
print 'Submitted DAG file'
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