CSIT-1041: Trending dashboard 24/11924/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:35:48 +0000 (10:35 +0000)
Change-Id: Id5a6a431261443eb8616c9d6ff4cc43b6f054791
Signed-off-by: Tibor Frank <tifrank@cisco.com>
(cherry picked from commit a0f580f21995185fcbd02aac905d83275faeda72)

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:
-                        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:]: