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

Improve napari-imagej's Number/RealType support #128

Merged

Conversation

gselzer
Copy link
Collaborator

@gselzer gselzer commented Oct 25, 2022

This PR improves support for RealType I/O Module parameters.

Note that, because imagej-ops replaces these parameters with Numbers, much of the work applies to both RealTypes and Numbers.

This PR relies on new releases of pyimagej and imagej-common, and would also benefit from a pom-scijava update to get the latest scijava-common version by default.

@gselzer gselzer added bug Something isn't working enhancement New feature or request labels Oct 25, 2022
@gselzer gselzer added this to the 0.1.0 milestone Oct 25, 2022
@gselzer gselzer self-assigned this Oct 25, 2022
@gselzer gselzer linked an issue Oct 25, 2022 that may be closed by this pull request
Copy link
Collaborator Author

@gselzer gselzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The effects of this PR are cool, but the code could be cleaner

src/napari_imagej/java.py Outdated Show resolved Hide resolved
src/napari_imagej/types/converters/images.py Outdated Show resolved Hide resolved
src/napari_imagej/types/widget_mappings.py Outdated Show resolved Hide resolved
src/napari_imagej/utilities/_module_utils.py Outdated Show resolved Hide resolved
src/napari_imagej/utilities/_module_utils.py Outdated Show resolved Hide resolved
@gselzer gselzer force-pushed the 126-ops-using-realtypes-dont-work-well-within-napari-imagej branch 2 times, most recently from 857d320 to d3d9767 Compare October 25, 2022 19:10
@gselzer
Copy link
Collaborator Author

gselzer commented Oct 25, 2022

Alright, so this builds on my system, but that's using an unreleased pyimagej/imagej-common versions, and a scijava-common that isn't yet the default. So we'll need updates before this PR can be merged.

@gselzer gselzer force-pushed the 126-ops-using-realtypes-dont-work-well-within-napari-imagej branch 2 times, most recently from a3730bf to e1fec9a Compare November 18, 2022 17:56
@gselzer gselzer added the blocked Waiting for an upstream change label Jan 30, 2023
@gselzer gselzer force-pushed the 126-ops-using-realtypes-dont-work-well-within-napari-imagej branch from e1fec9a to f4e1691 Compare March 22, 2023 17:18
@gselzer gselzer force-pushed the 126-ops-using-realtypes-dont-work-well-within-napari-imagej branch from f4e1691 to 853b3fb Compare March 22, 2023 17:21
@gselzer gselzer marked this pull request as ready for review March 22, 2023 17:33
@gselzer gselzer merged commit ff1188c into main Mar 22, 2023
@gselzer gselzer deleted the 126-ops-using-realtypes-dont-work-well-within-napari-imagej branch March 22, 2023 17:34
kephale pushed a commit to kephale/napari-imagej that referenced this pull request May 24, 2023
…t-work-well-within-napari-imagej

Improve napari-imagej's Number/RealType support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Waiting for an upstream change bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ops using RealTypes don't work well within napari-imagej
1 participant