Commit 38c217a0 authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Fix error in commit c5e25404

Previously this returned True regardless of the value of
transientWindowType when really we want to also check if it is not None
parent d4139c3c
......@@ -170,7 +170,7 @@ class GridSearch(BaseSearchClass):
windowRange = getattr(, 'windowRange', None)
FstatMap = getattr(, 'FstatMap', None)
thisCand = list(vals) + [detstat]
if hasattr(self, 'transientWindowType'):
if getattr(self, 'transientWindowType', None):
if self.outputTransientFstatMap:
tCWfile = os.path.splitext(self.out_file)[0]+'_tCW_%.16f_%.16f_%.16f_%.16g_%.16g.dat' % (vals[2],vals[5],vals[6],vals[3],vals[4]) # freq alpha delta f1dot f2dot
fo = lal.FileOpen(tCWfile, 'w')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment