jni / zarpaint

Paint segmentations directly to on-disk/remote zarr arrays
BSD 3-Clause "New" or "Revised" License
14 stars 8 forks source link

Add copy data from platelet-unet-watershed #27

Closed Kaltzisp closed 2 years ago

Kaltzisp commented 2 years ago

After discussion with jni decided it would make more sense for copy data from function from platelet-unet-watershed to be part of zarpaint plugin.

jni commented 2 years ago

This is great @Kaltzisp, thank you!

It would be good to have some tests for this. Could you add some? See #26 for an example. 🙏

codecov-commenter commented 2 years ago

Codecov Report

Merging #27 (b513a6f) into main (535e7ee) will increase coverage by 1.38%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #27      +/-   ##
==========================================
+ Coverage   67.90%   69.28%   +1.38%     
==========================================
  Files          11       13       +2     
  Lines         511      534      +23     
==========================================
+ Hits          347      370      +23     
  Misses        164      164              
Impacted Files Coverage Δ
src/zarpaint/__init__.py 80.00% <100.00%> (+2.22%) :arrow_up:
src/zarpaint/_copy_data.py 100.00% <100.00%> (ø)
src/zarpaint/_tests/test_copy_data.py 100.00% <100.00%> (ø)

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 535e7ee...b513a6f. Read the comment docs.