Skip to content
Snippets Groups Projects

Resolve L2SS-703 "Fix statisticswriter windows"

Merged Jan David Mol requested to merge L2SS-703-fix-statisticswriter-windows into master
Files
3
@@ -235,9 +235,8 @@ class XSTCollector(StatisticsCollector):
@@ -235,9 +235,8 @@ class XSTCollector(StatisticsCollector):
# log if we're replacing a subband we were once recording
# log if we're replacing a subband we were once recording
previous_subband_in_slot = self.parameters["xst_subbands"][subband_slot]
previous_subband_in_slot = self.parameters["xst_subbands"][subband_slot]
if previous_subband_in_slot != fields.subband_index:
if previous_subband_in_slot != fields.subband_index:
previous_subband_timestamp = datetime.datetime.fromtimestamp(self.parameters["xst_timestamps"][subband_slot])
if self.parameters["xst_timestamps"][subband_slot] > 0:
previous_subband_timestamp = datetime.datetime.fromtimestamp(self.parameters["xst_timestamps"][subband_slot])
if previous_subband_timestamp.timestamp() > 0:
logger.info(f"Stopped recording XSTs for subband {previous_subband_in_slot}. Last data for this subband was received at {previous_subband_timestamp}.")
logger.info(f"Stopped recording XSTs for subband {previous_subband_in_slot}. Last data for this subband was received at {previous_subband_timestamp}.")
def xst_values(self, subband_indices = None):
def xst_values(self, subband_indices = None):
Loading