Skip to content
Snippets Groups Projects
Commit 2b79402e authored by Ryan Magee's avatar Ryan Magee Committed by Patrick Godwin
Browse files

gstlal_inspiral_create_dt_dphi_snr_ratio_pdfs: fix typo that raised an error within an error

parent 687a10b3
No related branches found
No related tags found
1 merge request!58dtdphi dag fixes
......@@ -29,7 +29,7 @@ options = parser.parse_args()
if options.start is not None and options.stop is not None:
if options.start % inspiral_extrinsics.TimePhaseSNR.numchunks or options.stop % inspiral_extrinsics.TimePhaseSNR.numchunks:
raise ValueError("start and stop must be multiple of %d" % TimePhaseSNR.numchunks)
raise ValueError("start and stop must be multiple of %d" % inspiral_extrinsics.TimePhaseSNR.numchunks)
IE = inspiral_extrinsics.TimePhaseSNR.from_hdf5(fname = options.cov_mat_h5, verbose = True, margstart = options.start, margstop = options.stop)
else:
IE = inspiral_extrinsics.TimePhaseSNR.from_hdf5(fname = options.cov_mat_h5, verbose = True)
......
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