Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't checkpoint a nofail stage when it's nofailed #222

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pypiper/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,9 @@ def run(self, start_point=None, stop_before=None, stop_after=None):
stage.run()
except Exception as e:
self.manager._triage_error(e, nofail=stage.nofail)
else:
self.checkpoint(stage)
self.executed.append(stage)
self.checkpoint(stage)

# Add any unused stages to the collection of skips.
self.skipped.extend(self._stages[stop_index:])
Expand Down
Loading