From e076cc8c47e7c10a48d0c5410967cd0269b98723 Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Tue, 28 Jun 2022 10:11:33 +0200 Subject: Report: Add normalized comp tabels - static content Change-Id: I0a9782248fee91f3db2fb5db00c800c7e5447f32 Signed-off-by: Tibor Frank --- resources/tools/presentation/generator_tables.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'resources/tools/presentation/generator_tables.py') 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) -- cgit 1.2.3-korg