Skip to content
Snippets Groups Projects
Commit 0754ddf1 authored by Kipp Cannon's avatar Kipp Cannon
Browse files

gstlal_inspiral: do not allow --psd-fft-length less than 32

parent 23e26151
No related branches found
No related tags found
No related merge requests found
......@@ -420,6 +420,8 @@ def parse_command_line():
if options.reference_psd is None and not options.track_psd:
raise ValueError("must use --track-psd if no reference psd is given, you can use both simultaneously")
if options.psd_fft_length < 32:
raise ValueError("--psd-fft-length cannot be less than 32")
if options.local_frame_caching and not options.data_source == "frames":
raise ValueError('--local-frame-caching can only be used if --data-source = "frames"')
if options.chisq_type not in ["autochisq", "timeslicechisq"]:
......
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