Skip to content

Commit

Permalink
fix print
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanLaserGit committed Jan 19, 2024
1 parent 19a332e commit 20eff6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/run_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ def validate(catchments,realization_file=None):
ncatchments = len(catchments)
catchments = sorted(catchments)
write_int = 1000
for j, jcatch in enumerate(catchments):
if j + 1 % write_int == 0:
for j, jcatch in enumerate(catchments):
if (j + 1) % write_int == 0:
print(f'{j/ncatchments}%')
jid = re.findall(r'\d+', jcatch)[0]
pattern = serialized_realization.global_config.forcing.file_pattern
Expand Down

0 comments on commit 20eff6c

Please sign in to comment.