tlambert03 / nd2

Full-featured nd2 (Nikon NIS Elements) file reader for python. Outputs to numpy, dask, and xarray. Exhaustive metadata extraction
https://tlambert03.github.io/nd2
BSD 3-Clause "New" or "Revised" License
53 stars 15 forks source link

Small update to ND2File.sizes, expose `frame_metadata` method #32

Closed tlambert03 closed 2 years ago

tlambert03 commented 2 years ago

SDK v1.7.2.0 fixed an issue that we were previously working around in sizes

also exposes ND2File.frame_metadata method, which is like metadata, but has frame specific information (like time and stage position)

codecov[bot] commented 2 years ago

Codecov Report

Merging #32 (b67713d) into main (05991f5) will increase coverage by 0.63%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #32      +/-   ##
==========================================
+ Coverage   86.75%   87.38%   +0.63%     
==========================================
  Files          11       11              
  Lines        1170     1173       +3     
==========================================
+ Hits         1015     1025      +10     
+ Misses        155      148       -7     
Impacted Files Coverage Δ
src/nd2/_legacy.py 83.18% <100.00%> (ø)
src/nd2/_sdk/latest.pyx 83.18% <100.00%> (+1.36%) :arrow_up:
src/nd2/nd2file.py 91.98% <100.00%> (+0.09%) :arrow_up:
src/nd2/_util.py 90.56% <0.00%> (-1.89%) :arrow_down:
src/nd2/structures.py 99.50% <0.00%> (+2.50%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 05991f5...b67713d. Read the comment docs.