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
54 stars 15 forks source link

fix: fix binary reshaping #164

Closed tlambert03 closed 1 year ago

tlambert03 commented 1 year ago

Fixes a bug where binary layers were not being reshaped properly

codecov[bot] commented 1 year ago

Codecov Report

Merging #164 (bdd148c) into main (1dff890) will decrease coverage by 0.01%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #164      +/-   ##
==========================================
- Coverage   95.04%   95.04%   -0.01%     
==========================================
  Files          17       17              
  Lines        2323     2322       -1     
==========================================
- Hits         2208     2207       -1     
  Misses        115      115              
Impacted Files Coverage Δ
src/nd2/_sdk_types.py 100.00% <ø> (ø)
src/nd2/_binary.py 89.70% <100.00%> (ø)
src/nd2/readers/_modern/modern_reader.py 92.85% <100.00%> (-0.03%) :arrow_down:

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

codspeed-hq[bot] commented 1 year ago

CodSpeed Performance Report

Merging #164 will not alter performance

Comparing fix-binary (bdd148c) with main (1dff890)

Summary

✅ 13 untouched benchmarks