Skip to content
Snippets Groups Projects
Commit fa4a2ff2 authored by gstlalcbc's avatar gstlalcbc Committed by Patrick Godwin
Browse files

FAR trials factor command line option

parent 2764a115
No related branches found
No related tags found
No related merge requests found
Pipeline #69779 passed with warnings
......@@ -203,6 +203,7 @@ def parse_command_line():
parser.add_option("--influx-database-name", help = "Specify the database name for the influxDB database. Required if --data-backend = influx.")
parser.add_option("--enable-auth", action = "store_true", default=False, help = "If set, enables authentication for the influx aggregator.")
parser.add_option("--enable-https", action = "store_true", default=False, help = "If set, enables HTTPS connections for the influx aggregator.")
parser.add_option("--FAR-trialsfactor", metavar = "trials", type = "float", default = 1.0, help = "Add trials factor to FAR before uploading to gracedb")
options, filenames = parser.parse_args()
......@@ -434,6 +435,7 @@ for num_insp_nodes, (svd_banks, likefile, zerolikefile) in enumerate(zip(bank_gr
"gracedb-service-url":options.gracedb_service_url,
"job-tag":jobTags[-1],
"likelihood-snapshot-interval":options.likelihood_snapshot_interval,
"FAR-trialsfactor":options.FAR_trialsfactor,
"min-instruments":options.min_instruments,
"time-slide-file":options.time_slide_file,
"output-kafka-server": options.output_kafka_server
......@@ -496,6 +498,7 @@ for num_insp_nodes, (svd_banks, likefile, zerolikefile) in enumerate(zip(bank_gr
"gracedb-service-url":options.inj_gracedb_service_url,
"job-tag":inj_jobTags[-1],
"likelihood-snapshot-interval":options.likelihood_snapshot_interval,
"FAR-trialsfactor":options.FAR_trialsfactor,
"min-instruments":options.min_instruments,
"time-slide-file":options.time_slide_file
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment