Skip to content
Snippets Groups Projects
Commit e1118a46 authored by Chad Hanna's avatar Chad Hanna
Browse files

svd_bank.py: assign bin id

parent 8717dd61
No related branches found
No related tags found
No related merge requests found
......@@ -277,6 +277,8 @@ def write_bank(filename, banks, cliplefts = None, cliprights = None, write_psd =
# put the bank table into the output document
new_sngl_table = lsctables.New(lsctables.SnglInspiralTable)
for row in bank.sngl_inspiral_table[clipleft:clipright]:
# FIXME need a proper id column
row.Gamma1 = int(bank.bank_id.split("_")[0])
new_sngl_table.append(row)
# put the possibly clipped table into the file
......
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