X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Fgenerator_tables.py;h=d28ff9ac875010a8f201778a2c8515331eb35321;hb=c3ebe1553c2a06e3138cb73f83ce891b49a4848d;hp=ee08511915ec42330d4b0953197c753d9f048ac8;hpb=ff54e2ebd940f8ad6b49be6480e6a3b6887c7f45;p=csit.git 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)