From 34b1b9466af7501e651cf3664d96e12c8126f116 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 23 Oct 2020 08:00:30 +0200 Subject: minor refactoring --- lib/loader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/loader.py') diff --git a/lib/loader.py b/lib/loader.py index 71183c5..0e46755 100644 --- a/lib/loader.py +++ b/lib/loader.py @@ -578,7 +578,7 @@ class RawData: # TODO es gibt next_transitions ohne 'plan' return True - def _merge_online_and_offline(self, measurement): + def _merge_online_and_mimosa(self, measurement): # Edits self.traces_by_fileno[measurement['fileno']][*]['trace'][*]['offline'] # and self.traces_by_fileno[measurement['fileno']][*]['trace'][*]['offline_aggregates'] in place # (appends data from measurement['energy_trace']) @@ -1050,7 +1050,7 @@ class RawData: if version == 0 or version == 1: if self._measurement_is_valid_01(measurement): - self._merge_online_and_offline(measurement) + self._merge_online_and_mimosa(measurement) num_valid += 1 else: logger.warning( -- cgit v1.2.3