kreshuklab / plant-seg

A tool for cell instance aware segmentation in densely packed 3D volumetric images
https://kreshuklab.github.io/plant-seg/
MIT License
97 stars 31 forks source link

Test and refactor `.core` and `functionals.dataprocessing` #303

Closed qin-yu closed 2 months ago

qin-yu commented 2 months ago

In this PR, I finished tests for PlantSeg core and all data processing functionals

  1. plangseg.core.image tests
  2. plangseg.core.voxelsize tests
  3. plangseg.functionals.labelprocessing tests and refactor
  4. plangseg.functionals.dataprocessing tests, refactor and bug fix
  5. plangseg.functionals.advanced_dataprocessing tests and refactor
codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 97.74266% with 10 lines in your changes missing coverage. Please review.

Project coverage is 55.34%. Comparing base (ad1c1f7) to head (bc52e0f). Report is 21 commits behind head on plantsegv2.

Files with missing lines Patch % Lines
...ctionals/dataprocessing/advanced_dataprocessing.py 91.04% 6 Missing :warning:
...ntseg/functionals/dataprocessing/dataprocessing.py 84.61% 2 Missing :warning:
...tseg/functionals/dataprocessing/labelprocessing.py 80.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## plantsegv2 #303 +/- ## ============================================== + Coverage 48.86% 55.34% +6.48% ============================================== Files 53 57 +4 Lines 3798 4067 +269 ============================================== + Hits 1856 2251 +395 + Misses 1942 1816 -126 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.