Commit 4b73c9f7 authored by Soichiro Morisaki's avatar Soichiro Morisaki
Browse files

lalinference_pipe.py: enable specfying path to coinc.xml in command line

parent ca012cf6
......@@ -35,6 +35,7 @@ parser.add_option("-r","--run-path",default=None,action="store",type="string",he
parser.add_option("-p","--daglog-path",default=None,action="store",type="string",help="Path to directory to contain DAG log file. SHOULD BE LOCAL TO SUBMIT NODE",metavar="LOGDIR")
parser.add_option("-g","--gps-time-file",action="store",type="string",default=None,help="Text file containing list of GPS times to analyse",metavar="TIMES.txt")
parser.add_option("--gid",action="store",type="string",default=None,help="GraceDB ID")
parser.add_option("--coinc",action="store",type="string",default=None,help="Path to coinc.xml")
parser.add_option("--service-url",action="store",type="string",default=None,help="GraceDB url from which xml files are downloaded")
parser.add_option("-I","--injections",action="store",type="string",default=None,help="List of injections to perform and analyse",metavar="INJFILE.xml")
parser.add_option("-B","--burst_injections",action="store",type="string",default=None,help="SimBurst table for LIB injections",metavar="INJFILE.xml")
......@@ -172,6 +173,9 @@ if opts.burst_injections is not None:
if opts.gid is not None:
cp.set('input','gid',opts.gid)
if opts.coinc is not None:
cp.set('input', 'coinc-xml', os.path.abspath(opts.coinc))
if opts.service_url is not None:
cp.set('analysis','service-url',opts.service_url)
......
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