X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Fgenerator_tables.py;h=5efe66777b74d72df2c4cfcb96246495da60f63e;hp=3ad48256be3f4c565582cd85a2378a80f07e7a39;hb=83e5550cfe67ba193c3ae9052258c111dbe342e4;hpb=e3e9c2217558f81013cce2614673b796df99e9b2 diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py index 3ad48256be..5efe66777b 100644 --- a/resources/tools/presentation/generator_tables.py +++ b/resources/tools/presentation/generator_tables.py @@ -415,7 +415,7 @@ def table_performance_comparison(table, input_data): item.append(int(relative_change(float(item[-4]), float(item[-2])))) else: item.append("n/a") - if (len(item) == len(header)) and (item[-5] is not None): + if (len(item) == len(header)) and (item[-3] is not None): tbl_lst.append(item) # Sort the table according to the relative change @@ -665,7 +665,7 @@ def table_performance_comparison_nic(table, input_data): item.append(int(relative_change(float(item[-4]), float(item[-2])))) else: item.append("n/a") - if (len(item) == len(header)) and (item[-5] is not None): + if (len(item) == len(header)) and (item[-3] is not None): tbl_lst.append(item) # Sort the table according to the relative change