Commit 70e2fbf1 authored by John Douglas Veitch's avatar John Douglas Veitch
Browse files

lalinference_pipe_utils.py: Check for analyse-all-time option as a boolean not a string

Original: 34feec2a7e041bcd69a7f7d175e4a428c4c67d3b
parent b4d709dc
......@@ -575,7 +575,8 @@ class LALInferencePipelineDAG(pipeline.CondorDAG):
else:
selected_events=None
# No input file given, analyse the entire time stretch between gpsstart and gpsend
if self.config.has_option('input','analyse-all-time') and self.config.get('input','analyse-all-time')==True:
if self.config.has_option('input','analyse-all-time') and self.config.getboolean('input','analyse-all-time')==True:
print 'Setting up for analysis of continuous time stretch %f - %f'%(gpsstart,gpsend)
seglen=self.config.getfloat('engine','seglen')
if(self.config.has_option('input','segment-overlap')):
overlap=self.config.getfloat('input','segment-overlap')
......
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