-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove measurement code * Renames widget
- Loading branch information
1 parent
5696735
commit 0150ee4
Showing
4 changed files
with
1 addition
and
249 deletions.
There are no files selected for viewing
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,10 @@ | ||
from napari_plugin_engine import napari_hook_implementation | ||
|
||
from brainreg_segment.measurement import measurement | ||
from brainreg_segment.measurement.random_layers import ( | ||
generate_random_points_2d_layer, | ||
generate_random_points_3d_layer, | ||
) | ||
from brainreg_segment.segment import SegmentationWidget | ||
|
||
|
||
@napari_hook_implementation | ||
def napari_experimental_provide_dock_widget(): | ||
return [ | ||
(SegmentationWidget, {"name": "Manual segmentation"}), | ||
(measurement.analyze_points_layer, {"name": "Analyze points layer"}), | ||
(SegmentationWidget, {"name": "Region/track segmentation"}), | ||
] | ||
|
||
|
||
@napari_hook_implementation | ||
def napari_provide_sample_data(): | ||
return { | ||
"random 3d points": generate_random_points_3d_layer, | ||
"random 2d points": generate_random_points_2d_layer, | ||
} |