X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Fgenerator_tables.py;h=d1def57f9e6db44ec39ce20c9dbd0fbe51d938f0;hb=54b25e85bf3efd1709043ded2d6a525fa0c73962;hp=36c6e645579a29c918fd6d2559fee465f4c27380;hpb=259620ea6ca1c5864d4864f0f04d260e89ecb72a;p=csit.git diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py index 36c6e64557..d1def57f9e 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