Commit 293e1db2 authored by Gregory Ashton's avatar Gregory Ashton

Merge branch 'add_lalinference_prior_flag_gracedb' into 'master'

Add option to pass --convert-to-flat-in-component-mass in bilby_pipe_gracedb

See merge request !234
parents 74a5ce53 c42dbcdc
Pipeline #91310 passed with stages
in 3 minutes and 10 seconds
......@@ -474,6 +474,16 @@ def create_parser():
" To be used for online PE jobs only."
),
)
parser.add_argument(
"--convert-to-flat-in-component-mass",
type=str,
help=(
"Convert a flat-in chirp mass and mass-ratio prior file to flat \n"
"in component mass during the post-processing. Note, the prior \n"
"must be uniform in Mc and q with constraints in m1 and m2 for \n"
"this to work. \n"
),
)
parser.add_argument(
"--outdir",
type=str,
......@@ -586,4 +596,6 @@ def main(args=None):
arguments.append("--submit")
if args.online_pe:
arguments.append("--online-pe")
if args.convert_to_flat_in_component_mass:
arguments.append("--convert-to-flat-in-component-mass")
run_command_line(arguments)
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