Skip to content
Snippets Groups Projects
Commit 718b238c authored by Kipp Cannon's avatar Kipp Cannon Committed by Kipp Cannon
Browse files

svd_bank.Bank(): make copy of templates

- when initializing object instead of storing a reference to the template bank table in the input XML tree
parent f4b37dcd
No related branches found
No related tags found
No related merge requests found
......@@ -167,7 +167,9 @@ class Bank(object):
verbose = verbose)
# Include signal inspiral table
self.sngl_inspiral_table = lsctables.SnglInspiralTable.get_table(bank_xmldoc)
sngl_inspiral_table = lsctables.SnglInspiralTable.get_table(bank_xmldoc)
self.sngl_inspiral_table = sngl_inspiral_table.copy()
self.sngl_inspiral_table.extend(sngl_inspiral_table)
# Include the processed psd
self.processed_psd = processed_psd
......
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