Skip to content

Commit

Permalink
Make check for num years more explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
justin-richling committed Feb 14, 2025
1 parent e411227 commit 24b801b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/analysis/amwg_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 24b801b

Please sign in to comment.