Skip to content
Snippets Groups Projects
Commit 51e374cc authored by Leo Tsukada's avatar Leo Tsukada
Browse files

gstlal_inspiral_bank_splitter : fix minor bug

parent 0c8d0aa0
No related branches found
No related tags found
No related merge requests found
Pipeline #481964 failed
......@@ -216,7 +216,7 @@ if options.bank_name:
xmldoc = ligolw_utils.load_filename(filename, verbose = options.verbose, contenthandler = LIGOLWContentHandler)
sngl_inspiral_table = lsctables.SnglInspiralTable.get_table(xmldoc)
temp_id_input = set(row.template_id for row in sngl_inspiral_table)
if not len(temp_id_input) != len(clipped_rows):
if not len(temp_id_input) != len(sngl_inspiral_table):
raise ValueError("There are duplicated template ids in the entire sngl_inspiral_table")
temp_id_output = set()
# Add a fake bandwidth column
......
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