Skip to content

Commit

Permalink
Remove measurement code (#135)
Browse files Browse the repository at this point in the history
* Remove measurement code

* Renames widget
  • Loading branch information
adamltyson authored Oct 27, 2023
1 parent 5696735 commit 0150ee4
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 249 deletions.
Empty file.
223 changes: 0 additions & 223 deletions brainreg_segment/measurement/measurement.py

This file was deleted.

11 changes: 0 additions & 11 deletions brainreg_segment/measurement/random_layers.py

This file was deleted.

16 changes: 1 addition & 15 deletions brainreg_segment/plugins.py
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,
}

0 comments on commit 0150ee4

Please sign in to comment.