X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Fgenerator_tables.py;h=5efe66777b74d72df2c4cfcb96246495da60f63e;hb=refs%2Fchanges%2F09%2F21709%2F1;hp=3ad48256be3f4c565582cd85a2378a80f07e7a39;hpb=e3e9c2217558f81013cce2614673b796df99e9b2;p=csit.git 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