aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/generator_tables.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2020-04-20 08:59:22 +0200
committerTibor Frank <tifrank@cisco.com>2020-04-20 08:59:22 +0200
commit2d1f2d6608bf405146497bf371d58ece3176cb12 (patch)
tree2d987d3596319bc0b6aeed060d00a65cb398ff73 /resources/tools/presentation/generator_tables.py
parentb778a14874e220995dd6a7f63cd6747911a0c192 (diff)
Report: Comparison tables
Change-Id: I18df883d66932fdafba83fd1b831736c4cb9ffa9 Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/generator_tables.py')
-rw-r--r--resources/tools/presentation/generator_tables.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py
index 468b9c642d..14130e5059 100644
--- a/resources/tools/presentation/generator_tables.py
+++ b/resources/tools/presentation/generator_tables.py
@@ -1000,8 +1000,8 @@ def table_perf_comparison(table, input_data):
if rca_data:
footnote = rca_data.get(u"footnote", u"")
if footnote:
- txt_file.write(footnote)
- txt_file.write(u":END")
+ txt_file.write(f"\n{footnote}")
+ txt_file.write(u"\n:END")
# Generate html table:
_tpc_generate_html_table(
@@ -1371,8 +1371,8 @@ def table_perf_comparison_nic(table, input_data):
if rca_data:
footnote = rca_data.get(u"footnote", u"")
if footnote:
- txt_file.write(footnote)
- txt_file.write(u":END")
+ txt_file.write(f"\n{footnote}")
+ txt_file.write(u"\n:END")
# Generate html table:
_tpc_generate_html_table(
@@ -2589,7 +2589,7 @@ def table_comparison(table, input_data):
header_csv.append(f"Stdev({col[u'title']})")
for comp in comparisons:
header_csv.append(
- f"Avg({comp.get(u'title', u'')}"
+ f"Avg({comp.get(u'title', u'')})"
)
header_csv.append(
f"Stdev({comp.get(u'title', u'')})"
@@ -2686,7 +2686,7 @@ def table_comparison(table, input_data):
txt_file.write(legend)
if footnote:
txt_file.write(footnote)
- txt_file.write(u":END")
+ txt_file.write(u"\n:END")
# Generate html table:
_tpc_generate_html_table(