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

fix failing regionprops test cases #110

Merged

Conversation

grlee77
Copy link
Contributor

@grlee77 grlee77 commented Sep 29, 2021

This PR should fix the regionprops test failures seen recently on CI. Seems related to #4354, but not sure why the prior fix no longer works.

The image is always boolean, so a cast to uint8 should be a safe.

cc @gigony

fixes regionprops test failures seen recently on CI and locally
@grlee77 grlee77 added bug Something isn't working non-breaking Introduces a non-breaking change labels Sep 29, 2021
@grlee77 grlee77 requested a review from a team as a code owner September 29, 2021 15:33
Copy link
Contributor

@gigony gigony 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 to me but somehow there are code style issues on this line

./src/cucim/skimage/measure/_regionprops.py:316:81: E501 line too long (85 > 80 characters)

There are other issues with isort but ignored by CI/CD.
https://gpuci.gpuopenanalytics.com/blue/organizations/jenkins/rapidsai%2Fgpuci%2Fcucim%2Fprb%2Fcucim-style/detail/cucim-style/65/pipeline

python/cucim/src/cucim/skimage/measure/_regionprops.py Outdated Show resolved Hide resolved
Style formatting the changed code to pass flake8 tests
@grlee77 grlee77 added this to the v21.10 milestone Sep 29, 2021
@quasiben
Copy link
Member

Thanks @grlee77

@quasiben
Copy link
Member

@gpucibot merge

@rapids-bot rapids-bot bot merged commit d54c737 into rapidsai:branch-21.10 Sep 29, 2021
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.

3 participants