Skip to content

Conversation

@John-P
Copy link
Contributor

@John-P John-P commented Oct 20, 2022

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

  • Improve test coverage

@John-P John-P self-assigned this Oct 20, 2022
@John-P John-P requested a review from shaneahmed October 20, 2022 14:24
@codecov
Copy link

codecov bot commented Oct 20, 2022

Codecov Report

Merging #492 (f6f6349) into develop (d19d935) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           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           
Impacted Files Coverage Δ
tiatoolbox/wsicore/wsireader.py 98.08% <100.00%> (+0.01%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Member

@shaneahmed shaneahmed left a 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.

Copy link
Member

@shaneahmed shaneahmed left a comment

Choose a reason for hiding this comment

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

Thanks @John-P

@shaneahmed shaneahmed merged commit fae4189 into develop Oct 21, 2022
@shaneahmed shaneahmed deleted the bug-ome-no-objective-power branch October 21, 2022 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants