aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/generator_tables.py
diff options
context:
space:
mode:
Diffstat (limited to 'resources/tools/presentation/generator_tables.py')
-rw-r--r--resources/tools/presentation/generator_tables.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py
index ee08511915..d28ff9ac87 100644
--- a/resources/tools/presentation/generator_tables.py
+++ b/resources/tools/presentation/generator_tables.py
@@ -1873,7 +1873,8 @@ def table_comparison(table, input_data):
row = [tst_data[u"name"], ]
for col in cols:
row_data = tst_data.get(col["title"], None)
- if normalize and row_data:
+ if normalize and row_data and row_data.get("mean", None) and \
+ row_data.get("stdev", None):
groups = re.search(REGEX_TOPO_ARCH, col["title"])
topo_arch = groups.group(0) if groups else ""
norm_factor = table["norm_factor"].get(topo_arch, 1.0)