From b95e4d9ec5d647e900b9ece00ef78a620490ab96 Mon Sep 17 00:00:00 2001 From: Andreas Pauling Date: Tue, 12 Dec 2023 17:12:16 +0100 Subject: [PATCH] Bug correction --- src/realtime_pollen_calibration/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/realtime_pollen_calibration/utils.py b/src/realtime_pollen_calibration/utils.py index 34aa938..12c89a2 100644 --- a/src/realtime_pollen_calibration/utils.py +++ b/src/realtime_pollen_calibration/utils.py @@ -426,7 +426,7 @@ def get_change_phenol( # pylint: disable=R0912,R0914,R0915 print("-----------------------------------------") # ADJUSTMENT OF SEASON START AND END AT THE BEGINNING OF THE SEASON if ( - (sum_obs_24 >= sum_obs_24) + (sum_obs_24 >= thr_con_24[pollen_type]) and (sum_obs >= thr_con_120[pollen_type]) and ctsum_stns < tthrs_stns ):