From 24b801b4ea31cc5b359fc2cc84907777b2b19047 Mon Sep 17 00:00:00 2001 From: justin-richling Date: Fri, 14 Feb 2025 09:41:38 -0700 Subject: [PATCH] Make check for num years more explicit --- scripts/analysis/amwg_table.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/analysis/amwg_table.py b/scripts/analysis/amwg_table.py index e13ff8f37..c1f6d8ea7 100644 --- a/scripts/analysis/amwg_table.py +++ b/scripts/analysis/amwg_table.py @@ -180,7 +180,7 @@ def amwg_table(adf): #Notify user that script has started: print(f"\n Creating table for '{case_name}'...") - if eyear_cases[case_idx]-syear_cases[case_idx] < 1: + if eyear_cases[case_idx]-syear_cases[case_idx] == 0: calc_stats = False print("\t INFO: Looks like there is only one year of data, will skip statistics and just add means to table") else: