From ab33810fa92f8a262695077ae9504c836cd3c1a2 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 20 Aug 2020 09:19:38 +0200 Subject: analyze-archive: print options used to create measurements --- bin/analyze-archive.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/analyze-archive.py b/bin/analyze-archive.py index aa266ed..65d80b3 100755 --- a/bin/analyze-archive.py +++ b/bin/analyze-archive.py @@ -381,6 +381,11 @@ if __name__ == "__main__": if "info" in opt: print(" ".join(raw_data.filenames) + ":") + if raw_data.ptalog: + options = " --".join( + map(lambda kv: f"{kv[0]}={str(kv[1])}", raw_data.ptalog["opt"].items()) + ) + print(f" Options: --{options}") if raw_data.version <= 1: data_source = "MIMOSA" elif raw_data.version == 2: -- cgit v1.2.3