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

ENH: Add helper function to send breadcrumb on interp termination #41

Merged
merged 9 commits into from
Oct 19, 2023

Conversation

mgxd
Copy link
Collaborator

@mgxd mgxd commented Oct 19, 2023

This PR adds a new method (track_exit) that will send a final status ping upon termination of the python interpreter.

The core of this has already been implemented in fmriprep / mriqc, but this will serve to remove all the extra code currently required, while identifying and distinguishing certain errors (Keyboard Interrupts for now, but can be expanded on using error_funcs.

@mgxd mgxd merged commit 4150118 into nipreps:main Oct 19, 2023
11 checks passed
@mgxd mgxd deleted the enh/helpers branch October 19, 2023 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant