-
Notifications
You must be signed in to change notification settings - Fork 101
BUG: Fix Bug When OME-TIFF Missing Objective Power #492
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
Conversation
The last if statment would cause overwriting of metadata for an OME-TIFF.
Codecov Report
@@ Coverage Diff @@
## develop #492 +/- ##
========================================
Coverage 99.63% 99.63%
========================================
Files 61 61
Lines 6232 6240 +8
Branches 1035 1035
========================================
+ Hits 6209 6217 +8
Misses 10 10
Partials 13 13
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
shaneahmed
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one minor comment.
Please can you also check coverage.
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
This reverts commit 6bf91f0.
When using TIFFReader with a generic TIFF, fetching resolution tags now works even if the TIFF is not tiled.
shaneahmed
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @John-P
This PR refactors the code for parsing OME-TIFF metadata and fixed a bug where an exception would be raised if the OME XML is missing objective power. This was noticeable when there was MPP data but not objective power such as with file created by tifffile.
To-Do