From 619a666705e040454da7d34d9b053fffdbfe0da4 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 9 Mar 2021 11:27:56 +0100 Subject: comments --- lib/loader.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/lib/loader.py b/lib/loader.py index 121c6f9..d0ff456 100644 --- a/lib/loader.py +++ b/lib/loader.py @@ -968,6 +968,7 @@ class RawData: { "content": tf.extractfile(member).read(), "fileno": i, + # For debug output and warnings "info": member, "setup": self.setup_by_fileno[i], "with_traces": self.with_traces, @@ -1024,9 +1025,10 @@ class RawData: { "content": tf.extractfile(member).read(), "fileno": len(self.traces_by_fileno) - 1, + # For debug output and warnings "info": member, "setup": self.setup_by_fileno[-1], - "repeat_id": repeat_id, + "repeat_id": repeat_id, # needed to add runtime "return_value.apply_from" parameters to offline_aggregates. "with_traces": self.with_traces, } ) @@ -1103,13 +1105,18 @@ class RawData: "content": list( map(lambda f: tf.extractfile(f).read(), members) ), + # used to determine EnergyTrace class for analysis "sync_mode": sync_mode, "fileno": len(self.traces_by_fileno) - 1, + # For debug output and warnings "info": members[0], "setup": self.setup_by_fileno[-1], + # needed to add runtime "return_value.apply_from" parameters to offline_aggregates, also for EnergyTraceWithBarcode "repeat_id": repeat_id, - "expected_trace": traces, # only for validation + # only for validation + "expected_trace": traces, "with_traces": self.with_traces, + # only for EnergyTraceWithBarcode "transition_names": list( map( lambda x: x["name"], -- cgit v1.2.3