summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2020-12-03 13:47:35 +0100
committerDaniel Friesel <daniel.friesel@uos.de>2020-12-03 13:47:35 +0100
commite226cb81dd57b9810a093936e750a0e2d4512173 (patch)
tree2a0618a5ab9547a31fd31d5e845e7d5b1446be1c /lib
parent62bbfbc7d7373a6964d0be50899fee069a1ac619 (diff)
loader: energytrace: add support for legacy file format
Diffstat (limited to 'lib')
-rw-r--r--lib/loader.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/loader.py b/lib/loader.py
index ba3f382..60be648 100644
--- a/lib/loader.py
+++ b/lib/loader.py
@@ -1020,6 +1020,9 @@ class RawData:
}
)
for repeat_id, etlog_files in enumerate(ptalog["files"][j]):
+ # legacy measurements supported only one file per run
+ if type(etlog_files) is not list:
+ etlog_files = [etlog_files]
members = list(map(tf.getmember, etlog_files))
offline_data.append(
{