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

Clean up image conversions #254

Merged
merged 3 commits into from
Jun 1, 2023
Merged

Clean up image conversions #254

merged 3 commits into from
Jun 1, 2023

Conversation

gselzer
Copy link
Collaborator

@gselzer gselzer commented May 31, 2023

This PR cleans up the conversions between ImageJ ecosystem image data structures (e.g. Dataset) to napari Image layers. This PR addresses all concerns except for maintaining the axes information, which I address in #253.

gselzer added 2 commits May 31, 2023 16:25
It was added with #107, but
imagej-common now has converters such that the above converter should
always win out
@gselzer gselzer added the bug Something isn't working label May 31, 2023
@gselzer gselzer added this to the 0.2.0 milestone May 31, 2023
@gselzer gselzer self-assigned this May 31, 2023
@gselzer gselzer linked an issue May 31, 2023 that may be closed by this pull request
@codecov-commenter
Copy link

Codecov Report

Patch coverage: 88.23% and project coverage change: +0.14 🎉

Comparison is base (78134f5) 88.95% compared to head (66b0a28) 89.10%.

❗ Current head 66b0a28 differs from pull request most recent head 096ee03. Consider uploading reports for the commit 096ee03 to get more accurate results

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #254      +/-   ##
==========================================
+ Coverage   88.95%   89.10%   +0.14%     
==========================================
  Files          53       53              
  Lines        4753     4753              
==========================================
+ Hits         4228     4235       +7     
+ Misses        525      518       -7     
Impacted Files Coverage Δ
src/napari_imagej/types/converters/images.py 97.10% <85.71%> (+4.14%) ⬆️
tests/types/test_converters.py 99.66% <100.00%> (+<0.01%) ⬆️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@gselzer gselzer force-pushed the 252-clean-up-image-conversions branch from 096ee03 to d050e2a Compare June 1, 2023 13:43
@gselzer gselzer merged commit e6f1023 into main Jun 1, 2023
@gselzer gselzer deleted the 252-clean-up-image-conversions branch June 1, 2023 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clean up image conversions
2 participants