Code Review
/
csit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
85a5bd5
)
CSIT-1041: Trending dashboard
98/11998/1
author
Tibor Frank
<tifrank@cisco.com>
Mon, 23 Apr 2018 10:20:20 +0000
(12:20 +0200)
committer
Tibor Frank
<tifrank@cisco.com>
Mon, 23 Apr 2018 10:20:20 +0000
(12:20 +0200)
Change-Id: I99b7acbbf6c773a4d2c5fc74cf7ba02aa6f98fa3
Signed-off-by: Tibor Frank <tifrank@cisco.com>
resources/tools/presentation/generator_tables.py
patch
|
blob
|
history
diff --git
a/resources/tools/presentation/generator_tables.py
b/resources/tools/presentation/generator_tables.py
index
5916244
..
238102d
100644
(file)
--- a/
resources/tools/presentation/generator_tables.py
+++ b/
resources/tools/presentation/generator_tables.py
@@
-790,7
+790,8
@@
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 rel_change_lst[idx] > rel_change_lst[index]:
+ if (abs(rel_change_lst[idx]) >
+ abs(rel_change_lst[index])):
index = idx
trend = round(float(median_lst[-1]) / 1000000, 2) \