Skip to content
Snippets Groups Projects
Commit 4dbdc591 authored by ChiWai Chan's avatar ChiWai Chan
Browse files

gstlal_inspiral_create_prior_diststats: ignore "noise_model" template.

parent 9bbd897c
No related branches found
No related tags found
No related merge requests found
......@@ -115,6 +115,8 @@ def parse_command_line():
bandwidths = []
if options.svd_file.endswith(".xml") or options.svd_file.endswith(".xml.gz"):
for n, bank in enumerate(svd_bank.read_banks(options.svd_file, contenthandler = LIGOLWContentHandler, verbose = options.verbose)):
if bank.bank_type != "signal_model":
continue
template_ids += [row.template_id for row in bank.sngl_inspiral_table]
# FIXME don't hard code
if options.df == "bandwidth":
......
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