From 3ea4fcebabfaac866d469a7b4355ac8df7732a0f Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Wed, 27 May 2020 10:57:46 +0200 Subject: [PATCH] PAL: Fix table_comparison again Change-Id: Ie408afd7bb8390ebe2fc90eca6daf8da44d22e3b Signed-off-by: Tibor Frank --- resources/tools/presentation/generator_tables.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py index fbac776202..c06e492ec8 100644 --- a/resources/tools/presentation/generator_tables.py +++ b/resources/tools/presentation/generator_tables.py @@ -1762,7 +1762,9 @@ def table_comparison(table, input_data): for line in tbl_cmp_lst: row = [line[0], ] for idx, itm in enumerate(line[1:]): - if itm is None: + if itm is None or not isinstance(itm, dict) or \ + itm.get(u'mean', None) is None or \ + itm.get(u'stdev', None) is None: new_itm = u"NT" else: if idx < len(cols): -- 2.16.6