Commit e7702021 authored by Surabhi Sachdev's avatar Surabhi Sachdev
Browse files

gstlal_inspiral_pipe: fix dtdphi commit

parent cad6a8ca
Pipeline #73207 failed with stages
in 3 minutes and 23 seconds
......@@ -1125,7 +1125,7 @@ def parse_command_line():
raise ValueError("--mass-model-file must be provided if --mass-model=file")
if not options.dtdphi_file:
options.dtdphi_file = os.path.join(gstlal_config_paths["pkgdatadir"], "inspiral_dtdphi_pdf.h5")
options.dtdphi_file = [os.path.join(gstlal_config_paths["pkgdatadir"], "inspiral_dtdphi_pdf.h5")]*len(options.overlap)
if len(options.dtdphi_file) != len(options.overlap):
raise ValueError("You must provide as many dtdphi files as banks")
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