Commit 49e6dd7e authored by spxjdv1's avatar spxjdv1
Browse files

lalinference_pipe: only write dax if requested

Original: dcaa9d98c5d5dba0833b0d3c7bf60ea809d00660
parent 188b1ce1
......@@ -91,7 +91,6 @@ if(opts.dax):
peg_frame_cache = inspiralutils.create_pegasus_cache_file(pfnfile)
else:
peg_frame_cache = '/dev/null'
# Create the dax scripts
# A directory to store the DAX temporary files
import uuid
......@@ -102,7 +101,9 @@ if opts.grid_site is not None:
site='local,'+opts.grid_site
else:
site=None
dag.prepare_dax(tmp_exec_dir=execdir,grid_site=site,peg_frame_cache=peg_frame_cache)
# Create the DAX scripts
if opts.dax:
dag.prepare_dax(tmp_exec_dir=execdir,grid_site=site,peg_frame_cache=peg_frame_cache)
dag.write_sub_files()
dag.write_dag()
dag.write_script()
......
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