aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/generator_tables.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2017-10-30 17:19:32 +0100
committerTibor Frank <tifrank@cisco.com>2017-10-30 17:19:32 +0100
commitf12e62b5d43bdc3765b167a17887e2e441e902eb (patch)
tree1f60a5bf1a15e6fa09a03ee86e62617f06375901 /resources/tools/presentation/generator_tables.py
parentda97a9f4850616b2e48ddbe7a258649b2ded0aa8 (diff)
Report: plots
Change-Id: Ife20611fc3eab19b4b6bde405907fcad420f7cf8 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.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py
index b98f32ca14..59059df08e 100644
--- a/resources/tools/presentation/generator_tables.py
+++ b/resources/tools/presentation/generator_tables.py
@@ -134,6 +134,8 @@ def table_performance_improvements(table, input_data):
line_lst.append(item["data"])
elif isinstance(item["data"], float):
line_lst.append("{:.1f}".format(item["data"]))
+ elif item["data"] is None:
+ line_lst.append("")
file_handler.write(",".join(line_lst) + "\n")
logging.info(" Generating the table {0} ...".