Skip to content

Conversation

@AmarUCLA
Copy link

The new scikit-image version now uses the attribute name "centroid_weighted" instead of "weighted_centroid". In addition to this, there were bugs with accesses the attribute as prop.centroid_weighted, so now changed it to accessing the attribute as prop['centroid_weighted']

The new scikit-image version now uses the attribute name "centroid_weighted" instead of "weighted_centroid". In addition to this, there were bugs with accesses the attribute as prop.centroid_weighted, so now changed it to accessing the attribute as prop['centroid_weighted']
@manthey
Copy link
Contributor

manthey commented Dec 8, 2021

With scikit-image 0.19, the code with "weighted_centroid" is still allowed. With this change, we need some code to handle either case (so the library still works as long as we support Python 3.6, since the last scikit-image version that works on 3.6 is 0.17).

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.

2 participants