Skip to content

Commit

Permalink
do not end early
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed Sep 2, 2021
1 parent b294568 commit 88204a6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions coupledmodeldriver/generate/adcirc/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,7 @@ def check_adcirc_completion(
else:
errors[filename.name] = log_file_errors

if ended:
if not verbose:
return CompletionStatus.COMPLETED, completion_percentage
else:
if not ended:
if filename.name not in running:
running[filename.name] = []
running[filename.name] = f'job is still running (no `Epilogue`)'
Expand Down Expand Up @@ -190,7 +187,6 @@ def check_adcirc_completion(
completion['running'] = running
else:
return CompletionStatus.RUNNING, completion_percentage

if not verbose and len(completion) == 0:
return CompletionStatus.COMPLETED, completion_percentage

Expand Down

0 comments on commit 88204a6

Please sign in to comment.