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

DM-27170: Deprecate and phase out afw::image::Filter #555

Merged
merged 1 commit into from Jan 29, 2021

Conversation

parejkoj
Copy link
Contributor

@parejkoj parejkoj commented Jan 2, 2021

No description provided.

Copy link
Member

@kfindeisen kfindeisen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, minor comments only.

include/lsst/afw/image/Color.h Outdated Show resolved Hide resolved
include/lsst/afw/image/Exposure.h Outdated Show resolved Hide resolved
python/lsst/afw/image/utils.py Outdated Show resolved Hide resolved
python/lsst/afw/image/utils.py Outdated Show resolved Hide resolved
@parejkoj
Copy link
Contributor Author

@kfindeisen : I changed how I deprecated FilterProperty in a new commit: it seems to have fixed the bug I was getting building afw in the new conda environment (seem #dm-build-problems). If you're happy with it, I'll squash it.

Copy link
Member

@kfindeisen kfindeisen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Icky, but ok. I wonder if you should separately deprecate FilterProperty.reset (and other static methods), just to make sure those calls are spotted as well.

@parejkoj
Copy link
Contributor Author

Good point: I just did that in the latest commit. It's a little clunky, but seems to do the trick. What do you think?

Mark Filter/FilterProperty and their static members deprecated using a
non-standard approachin python due to some sort of bug in the deprecation
system that we haven't exactly pinned down yet.
@parejkoj parejkoj merged commit 512c418 into master Jan 29, 2021
@parejkoj parejkoj deleted the tickets/DM-27170 branch January 29, 2021 21:38
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.

None yet

2 participants