Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add nap6 menu contributions #51

Merged
merged 3 commits into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ classifiers =
Topic :: Software Development :: Testing
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Operating System :: OS Independent
License :: OSI Approved :: BSD License

Expand All @@ -27,15 +28,14 @@ package_dir =
setup_requires = setuptools_scm
install_requires =
magicgui
napari>=0.4.11.dev80
napari-plugin-engine>=0.1.4
napari>=0.4.19
numpy
pyyaml
qtpy
scipy
scikit-image
scikit-image>=0.21
toolz
zarr
zarr>=2.11,<3

python_requires = >=3.7

Expand Down
2 changes: 1 addition & 1 deletion src/zarpaint/_tests/test_watershed.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def test_watershed_split_3d_with_blobs(make_napari_viewer):
blob_size_fraction=0.1,
n_dim=3,
volume_fraction=0.1,
seed=0
rng=0,
)
labeled_blobs = ndi.label(blobs)[0]
viewer = make_napari_viewer()
Expand Down
15 changes: 14 additions & 1 deletion src/zarpaint/napari.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: zarpaint
schema_version: 0.1.0
schema_version: 0.2.0
contributions:
commands:
- id: zarpaint.add_points_3d_with_alt_click
Expand Down Expand Up @@ -42,3 +42,16 @@ contributions:
display_name: Split With Watershed
- command: zarpaint.copy_data
display_name: Copy Data

menus:
napari/file/new_layer:
- command: zarpaint.create_labels
napari/layers/visualize:
- command: zarpaint.DimsSorter
- command: zarpaint.set_axis_labels
napari/layers/annotate:
- command: zarpaint.add_points_3d_with_alt_click
napari/layers/data:
- command: zarpaint.copy_data
napari/layers/segment:
- command: zarpaint.watershed_split
Loading