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

Migrate to npe2 #136

Merged
merged 2 commits into from
Oct 27, 2023
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
11 changes: 11 additions & 0 deletions brainreg_segment/napari.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: brainreg-segment
schema_version: 0.1.0
contributions:
commands:
- id: brainreg-segment.SegmentationWidget
title: Open segmentation widget
python_name: brainreg_segment.segment:SegmentationWidget

widgets:
- command: brainreg-segment.SegmentationWidget
display_name: Region/track segmentation
10 changes: 0 additions & 10 deletions brainreg_segment/plugins.py

This file was deleted.

2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ dev = [
"napari-time-slicer" # to test non ndarray-types
]

[project.entry-points."napari.manifest"]
cellfinder-napari = "brainreg_segment:napari.yaml"

[project.scripts]
brainreg-segment = "brainreg_segment.segment:main"
Expand Down
Loading