summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/analyze-archive.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/bin/analyze-archive.py b/bin/analyze-archive.py
index 25dfa27..ebf9f38 100755
--- a/bin/analyze-archive.py
+++ b/bin/analyze-archive.py
@@ -87,7 +87,17 @@ def model_quality_table(result_lists, info_list):
for i, results in enumerate(result_lists):
info = info_list[i]
buf += " ||| "
- if info is None or info(state_or_tran, key):
+ if (
+ info is None
+ or info(state_or_tran, key)
+ or (
+ key == "energy_Pt"
+ and (
+ info(state_or_tran, "power")
+ or info(state_or_tran, "duration")
+ )
+ )
+ ):
result = results["by_name"][state_or_tran][key]
buf += format_quality_measures(result)
else: