Commit 580aca76 authored by John Douglas Veitch's avatar John Douglas Veitch
Browse files

Add help option to lalinference_pipe

Original: 2bb43fc3a790ae5b9e672a6169a0b740c6f38293
parent aea2b4d5
......@@ -15,10 +15,13 @@ usage=""" %prog [options] config.ini
Setup a Condor DAG file to run the LALInference pipeline based on
the config.ini file.
The user must specify either an injection file to analyse, with the --inj option,
The user can specify either an injection file to analyse, with the --inj option,
a list of SnglInspiralTable or CoincInspiralTable triggers with the --<x>-triggers options,
or an ASCII list of GPS times with the --gps-time-file option.
If none of the above options are given, the pipeline will analyse the entire
stretch of time between gps-start-time and gps-end-time, specified in the config.ini file.
The user must also specify and ini file which will contain the main analysis config.
"""
......
......@@ -571,7 +571,7 @@ class LALInferencePipelineDAG(pipeline.CondorDAG):
# No input file given, analyse the entire time stretch between gpsstart and gpsend
if ReadInputFromList!=1:
seglen=self.config.getfloat('engine','seglen')
if(self.config.has_option('input','segment-overlap'):
if(self.config.has_option('input','segment-overlap')):
overlap=self.config.getfloat('input','segment-overlap')
else:
overlap=32.;
......@@ -902,7 +902,7 @@ class LALInferencePipelineDAG(pipeline.CondorDAG):
out_dir=os.path.join(self.basepath,'engine')
mkdirs(out_dir)
node.set_output_file(os.path.join(out_dir,node.engine+'-'+str(event.event_id)+'-'+node.get_ifos()+'-'+str(node.get_trig_time())+'-'+str(node.id)))
for( (opt,arg) in event.engine_opts):
for (opt,arg) in event.engine_opts:
node.add_var_opt(opt,arg)
return node
......
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