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 missing imports of euler_number and perimeter_crofton #386

Merged
merged 2 commits into from
Aug 6, 2022

Conversation

grlee77
Copy link
Contributor

@grlee77 grlee77 commented Aug 5, 2022

These functions had been implemented, but were missing from the __init__.py in skimage.measure. This was not caught because the test cases had imported them from the private submodule!

public functions should be imported from top-level skimage.measure
@grlee77 grlee77 added bug Something isn't working non-breaking Introduces a non-breaking change labels Aug 5, 2022
@grlee77 grlee77 requested a review from a team as a code owner August 5, 2022 23:02
@jakirkham
Copy link
Member

@gpucibot merge

@grlee77
Copy link
Contributor Author

grlee77 commented Aug 5, 2022

Currently users could only obtain these only via import from a private submodule:

from cucim.skimage.measure._regionprops import euler_number, perimeter_crofton

while the fix here makes it available via

from cucim.skimage.measure import euler_number, perimeter_crofton

@rapids-bot rapids-bot bot merged commit e155e32 into rapidsai:branch-22.10 Aug 6, 2022
@jakirkham
Copy link
Member

Thanks Greg! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working non-breaking Introduces a non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants