Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -170,7 +170,7 @@ class GridSearch(BaseSearchClass):
windowRange = getattr(self.search, 'windowRange', None)
FstatMap = getattr(self.search, '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')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment