Commit bd681cab authored by Soichiro Morisaki's avatar Soichiro Morisaki

lalinference_pipe_utils.py: force ifos to be user-specified ifos

parent 2d85cf8c
......@@ -1357,6 +1357,8 @@ class LALInferencePipelineDAG(pipeline.CondorDAG):
Will determine the data to be read and the output file.
Will use all IFOs known to the DAG, unless otherwise specified as a list of strings
"""
if self.config.has_option('analysis','ifos'):
ifos = ast.literal_eval(self.config.get('analysis','ifos'))
if ifos is None and len(event.ifos)>0:
ifos=event.ifos
if ifos is None:
......
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