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

Add function to selectively remove estimators from the registry #383

Open
mgxd opened this issue Jul 31, 2023 · 0 comments
Open

Add function to selectively remove estimators from the registry #383

mgxd opened this issue Jul 31, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@mgxd
Copy link
Contributor

mgxd commented Jul 31, 2023

What would you like to see added in this software?

This has come up in nipreps/fmriprep#3060

To avoid filtering out estimators multiple times, we should incorporate a selective purge in the same spirit as

def clear_registry():
"""Empty registries."""
_estimators.clear()
_intents.clear()
to avoid accessing private _estimators.

Do you have any interest in helping implement the feature?

Yes

Additional information / screenshots

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant