CSIT-1041: Trending dashboard 22/11922/1
authorTibor Frank <tifrank@cisco.com>
Thu, 19 Apr 2018 10:34:22 +0000 (12:34 +0200)
committerTibor Frank <tifrank@cisco.com>
Thu, 19 Apr 2018 10:34:22 +0000 (12:34 +0200)
Change-Id: Id5a6a431261443eb8616c9d6ff4cc43b6f054791
Signed-off-by: Tibor Frank <tifrank@cisco.com>
resources/tools/presentation/generator_tables.py

index 4bbee51..32273ca 100644 (file)
@@ -782,7 +782,7 @@ def table_performance_trending_dashboard(table, input_data):
                         break
                 for idx in range(index+1, len(classification_lst)):
                     if classification_lst[idx] == tmp_classification:
                         break
                 for idx in range(index+1, len(classification_lst)):
                     if classification_lst[idx] == tmp_classification:
-                        if relative_change[idx] > relative_change[index]:
+                        if rel_change_lst[idx] > rel_change_lst[index]:
                             index = idx
 
             # if "regression" in classification_lst[first_idx:]:
                             index = idx
 
             # if "regression" in classification_lst[first_idx:]: