-
Notifications
You must be signed in to change notification settings - Fork 279
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
DEPR: derpecate HaloCatalogCallback, let it migrate to yt_astro_analysis #3567
DEPR: derpecate HaloCatalogCallback, let it migrate to yt_astro_analysis #3567
Conversation
d6a9862
to
b000819
Compare
@brittonsmith I think this needs your stamp of approval |
Checking for this helped me find a bug in yt_astro yt-project/yt_astro_analysis#131 With the associated bugfix + this branch, I've checked that halo plotting still works as documented |
I've thought about this a bit and I've come back to the opinion that it would be good to have some way to inform the user that this callback has been removed and where to find it now. It's non-trivial enough for the user to figure out how to get this functionality back, I'd rather not remove it with no message. Would it be possible to make a |
I experimented with this approach and in summary yes, it is possible. So in fact we don't have to make the code here disappear, and we can just add a deprecation warning, which is much better. I'll update. |
b000819
to
fbf6582
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, that's great. Thanks!
PR Summary
complementary part of yt-project/yt_astro_analysis#98
addressing yt-project/yt_astro_analysis#93
and fix #3566
This should probably not go in before yt_astro_analysis 1.1 is released, see https://github.com/yt-project/yt_astro_analysis/milestone/2