Fix crash in puncta detection on large images#28
Merged
clarenceyapp merged 4 commits intoHMS-IDAC:masterfrom Oct 26, 2025
Merged
Fix crash in puncta detection on large images#28clarenceyapp merged 4 commits intoHMS-IDAC:masterfrom
clarenceyapp merged 4 commits intoHMS-IDAC:masterfrom
Conversation
skimage 0.16.2 has a bug where images above a certain size cause an out-of-bounds array read in the cython code, leading to a segfault and hard crash. This upgrades us to skimage 0.20.0 which has a fix. Workarounds are required for other API changes and new bugs.
clarenceyapp
approved these changes
Oct 25, 2025
Contributor
Author
|
Found a severe performance regression. Testing the fix now. |
It turns out the code is almost completely compatible with the latest version of all the dependencies. It ended up being a lot simpler to upgrade everything than chase all the issues with the older versions one by one.
Not necessary for the puncta detection fix, but this does make the script more ergonomic.
Contributor
Author
|
I slipped in a commit with some improvements to the multi-processing and log output, hope that's OK. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
skimage 0.16.2 has a bug where images above a certain size cause an out-of-bounds array read in the cython code, leading to a segfault and hard crash. This upgrades us to skimage 0.20.0 which has a fix. Workarounds are required for other API changes and new bugs.