Skip to content

Commit

Permalink
improve logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert John committed Oct 18, 2024
1 parent 3723d99 commit d89bd65
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ def update_kba_filename_from_scenario_year(fn, scenario):
"""filename containing hardcoded DATE string. replace with scenario year from param"""
year = str(int(scenario.split("status20")[1]) + 1)
print(f"fn {fn}; scenario {scenario}; year {year}")
print("type(year)", type(year), "len(year)", len(year))
return fn.replace("YEAR", year)


Expand Down

0 comments on commit d89bd65

Please sign in to comment.