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 is_consecutive to check starting label #886

Merged
merged 3 commits into from
Jun 25, 2019

Conversation

larrybradley
Copy link
Member

This PR fixes SegmentationImage.is_consecutive to return True only if the labels are consecutive and start with label=1.

@larrybradley larrybradley added this to the 0.7 milestone Jun 25, 2019
@larrybradley larrybradley merged commit c5eebcd into astropy:master Jun 25, 2019
@larrybradley larrybradley deleted the segm-consecutive branch June 25, 2019 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant