X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Fgenerator_tables.py;h=238102da9a02f99276993efedc444bc4e5dca5b4;hp=59162444dcfd33664e8374f930fa0b111a46662b;hb=cd330b5a1bf1a289e7dad68420679a5d94de1eda;hpb=85a5bd538583f33dc63e072cfa4b3b6750958191 diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py index 59162444dc..238102da9a 100644 --- 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) \