diff --git a/gstlal-inspiral/bin/gstlal_inspiral_pipe b/gstlal-inspiral/bin/gstlal_inspiral_pipe index 03e9a901202ee4f1f51410c647536f5a6958112f..eb4c07cd51a281bcf1f680115c430a8f9cc10749 100755 --- a/gstlal-inspiral/bin/gstlal_inspiral_pipe +++ b/gstlal-inspiral/bin/gstlal_inspiral_pipe @@ -1012,7 +1012,7 @@ def parse_command_line(): # Template bank parser.add_option("--template-bank", metavar = "filename", help = "Set the template bank xml file.") - parser.add_option("--mass-model", metavar = "filename", help = "Set the name of the mass model. Options are 'file', 'salpeter'") + parser.add_option("--mass-model", metavar = "filename", help = "Set the name of the mass model. Options are 'file', 'salpeter' and 'ligo'") parser.add_option("--mass-model-file", metavar = "filename", help = "Set the name of the mass model file, e.g., mass_model.h5. Required if --mass-model=file") # SVD bank construction options @@ -1078,8 +1078,8 @@ def parse_command_line(): options, filenames = parser.parse_args() - if options.mass_model not in ("salpeter", "file"): - raise ValueError("--mass-model must be 'salpeter' or 'file'") + if options.mass_model not in ("salpeter", "ligo", "file"): + raise ValueError("--mass-model must be 'salpeter', 'ligo' or 'file'") if options.mass_model == "file" and not options.mass_model_file: raise ValueError("--mass-model-file must be provided if --mass-model=file")