Skip to content

Commit

Permalink
Fix resume_failed=new option in MPI execution example
Browse files Browse the repository at this point in the history
  • Loading branch information
frthjf committed Mar 21, 2024
1 parent a4f2609 commit 7f3027e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/examples/mpi-execution/mpi.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ def __call__(self):
> 0
):
if self.config.resume_failed == "new":
executable = executable.new()
if self.config.resume_failed == "skip":
executable = executable.new().commit()
elif self.config.resume_failed == "skip":
continue
else:
raise ExecutionFailed(
Expand Down

0 comments on commit 7f3027e

Please sign in to comment.