Skip to content

Commit b2d31a0

Browse files
committed
docs + cleaned up interface calls + more ui methods +
instance segmentation
1 parent 6de6959 commit b2d31a0

17 files changed

+366
-931
lines changed

docs/res/interface.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ make_button
2828
**************************************
2929
.. autofunction:: napari_cellseg_annotator.interface::make_button
3030

31+
make_combobox
32+
**************************************
33+
.. autofunction:: napari_cellseg_annotator.interface::make_combobox
34+
35+
make_checkbox
36+
**************************************
37+
.. autofunction:: napari_cellseg_annotator.interface::make_checkbox
38+
3139

3240
combine_blocks
3341
**************************************
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
11
__version__ = "0.0.1"
2-
3-
4-
from ._widget import ExampleQWidget, example_magic_widget

src/napari_cellseg_annotator/_tests/test_dock_widget.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88

99
def test_prepare(make_napari_viewer):
1010
path_to_csv = Path(os.path.dirname(os.path.realpath(__file__)) + "/res")
11-
path_image = Path(os.path.dirname(os.path.realpath(__file__)) + "/res/test.tif")
11+
path_image = Path(
12+
os.path.dirname(os.path.realpath(__file__)) + "/res/test.tif"
13+
)
1214
image = imread(path_image)
1315
viewer = make_napari_viewer()
1416
viewer.add_image(image)
@@ -19,5 +21,5 @@ def test_prepare(make_napari_viewer):
1921
assert widget.filetype == ".tif"
2022
assert widget.as_folder == False
2123
assert Path(widget.csv_path) == Path(
22-
os.path.dirname(os.path.realpath(__file__)) + "/res/_train0.csv")
23-
24+
os.path.dirname(os.path.realpath(__file__)) + "/res/_train0.csv"
25+
)

src/napari_cellseg_annotator/_tests/test_widget.py

Lines changed: 0 additions & 34 deletions
This file was deleted.

src/napari_cellseg_annotator/_widget.py

Lines changed: 0 additions & 43 deletions
This file was deleted.

0 commit comments

Comments
 (0)