Closed jluethi closed 3 years ago
Merging #10 (ea77493) into master (ed90579) will decrease coverage by
14.52%
. The diff coverage is35.23%
.
@@ Coverage Diff @@
## master #10 +/- ##
===========================================
- Coverage 45.67% 31.15% -14.53%
===========================================
Files 4 9 +5
Lines 162 398 +236
===========================================
+ Hits 74 124 +50
- Misses 88 274 +186
Impacted Files | Coverage Δ | |
---|---|---|
napari_feature_visualization/__init__.py | 66.66% <ø> (ø) |
|
napari_feature_visualization/_regionprops.py | 17.85% <ø> (-6.68%) |
:arrow_down: |
napari_feature_visualization/classifier_widgets.py | 15.38% <15.38%> (ø) |
|
napari_feature_visualization/classifier.py | 29.26% <29.26%> (ø) |
|
napari_feature_visualization/functionwidgets.py | 80.00% <80.00%> (ø) |
|
napari_feature_visualization/dockwidgets.py | 83.33% <83.33%> (ø) |
|
napari_feature_visualization/utils.py | 97.72% <97.72%> (ø) |
|
napari_feature_visualization/feature_vis.py | 16.98% <100.00%> (-37.02%) |
:arrow_down: |
... and 5 more |
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 ed90579...ea77493. Read the comment docs.
This pull requests adds a classifier widget that can be used to classify label objects based on data in csv files.
It's an alpha state of the widget, but already fairly useful for the basic use-cases.
I also refactored the filenames and separated the functions providing the widgets to napari into their own files to allow for multiple different widgets of the same type to be provided. @haesleinhuepf This therefore involved modifying _regionsprops.py file and moving some functionality to functionwidgets.py. It shouldn't change anything in the actual behavior of the plugin though. Let me know if you're ok with those changes.
Also thanks to @MaksHess for developing a prototype for the classifier functionality in napari and writing the basis for the Classifier class.