summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
73a01b1)
Change-Id: I3b8e545bd198281af502acc6e23268e840112423
Signed-off-by: Tibor Frank <tifrank@cisco.com>
else classification
for idx in range(first_idx, len(classification_lst)):
if classification_lst[idx] == tmp_classification:
else classification
for idx in range(first_idx, len(classification_lst)):
if classification_lst[idx] == tmp_classification:
+ if rel_change_lst[idx]:
+ index = idx
+ break
for idx in range(index+1, len(classification_lst)):
if classification_lst[idx] == tmp_classification:
for idx in range(index+1, len(classification_lst)):
if classification_lst[idx] == tmp_classification:
- if (abs(rel_change_lst[idx]) >
- abs(rel_change_lst[index])):
- index = idx
+ if rel_change_lst[idx]:
+ if (abs(rel_change_lst[idx]) >
+ abs(rel_change_lst[index])):
+ index = idx
trend = round(float(median_lst[-1]) / 1000000, 2) \
if not isnan(median_lst[-1]) else '-'
trend = round(float(median_lst[-1]) / 1000000, 2) \
if not isnan(median_lst[-1]) else '-'