diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2020-12-03 13:47:35 +0100 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2020-12-03 13:47:35 +0100 |
commit | e226cb81dd57b9810a093936e750a0e2d4512173 (patch) | |
tree | 2a0618a5ab9547a31fd31d5e845e7d5b1446be1c | |
parent | 62bbfbc7d7373a6964d0be50899fee069a1ac619 (diff) |
loader: energytrace: add support for legacy file format
-rw-r--r-- | lib/loader.py | 3 |
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( { |