aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/generator_tables.py
diff options
context:
space:
mode:
Diffstat (limited to 'resources/tools/presentation/generator_tables.py')
-rw-r--r--resources/tools/presentation/generator_tables.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py
index 814fbe450c..92a292b66c 100644
--- a/resources/tools/presentation/generator_tables.py
+++ b/resources/tools/presentation/generator_tables.py
@@ -588,6 +588,7 @@ def table_performance_trending_dashboard(table, input_data):
std())[-2]
if isnan(last):
anomaly = "outlier"
+ last = list(pd_data)[-1]
elif last < (trend - 3 * t_stdev):
anomaly = "regression"
elif last > (trend + 3 * t_stdev):