Skip to content
Snippets Groups Projects
Commit e7702021 authored by Surabhi Sachdev's avatar Surabhi Sachdev
Browse files

gstlal_inspiral_pipe: fix dtdphi commit

parent cad6a8ca
No related branches found
No related tags found
No related merge requests found
Pipeline #73207 failed
......@@ -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")
......
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