Skip to content
Snippets Groups Projects
Commit a20684b8 authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Adds test to check SFT_timestamps exists

If SFTs where not loaded, i.e. if injectSources was used, no timestamps
are generated. In such a case don't attempt to used them.
parent ea5474da
No related branches found
No related tags found
No related merge requests found
......@@ -547,6 +547,7 @@ class SemiCoherentSearch(BaseSearchClass, ComputeFstat):
record_segments=False):
""" Returns twoF or ln(BSGL) semi-coherently at a single point """
if hasattr(self, 'SFT_timestamps'):
if self.tboundaries[0] < self.SFT_timestamps[0]:
logging.debug(
'Semi-coherent start time {} before first SFT timestamp {}'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment