diff options
author | Tibor Frank <tifrank@cisco.com> | 2022-06-28 10:11:33 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2022-06-28 09:53:17 +0000 |
commit | 86d584d86c6f37efb5c74921f51cf01dcb30cc37 (patch) | |
tree | 405479fff8015c49adcc066a8ef20e7b28f4643d /resources | |
parent | 8c973f043313e68bad24fbad4ee293452334bdb7 (diff) |
Report: Add normalized comp tabels - static content
Change-Id: I0a9782248fee91f3db2fb5db00c800c7e5447f32
Signed-off-by: Tibor Frank <tifrank@cisco.com>
(cherry picked from commit e076cc8c47e7c10a48d0c5410967cd0269b98723)
Diffstat (limited to 'resources')
-rw-r--r-- | resources/tools/presentation/generator_tables.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py index b8ceffafb5..ee08511915 100644 --- a/resources/tools/presentation/generator_tables.py +++ b/resources/tools/presentation/generator_tables.py @@ -1877,7 +1877,10 @@ def table_comparison(table, input_data): 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) - row_data_norm = row_data * norm_factor + row_data_norm = { + "mean": row_data["mean"] * norm_factor, + "stdev": row_data["stdev"] * norm_factor + } else: row_data_norm = row_data row.append(row_data_norm) |