From 71181d4dc2e35df7d1bcbdc9578bb19f481ad8ef Mon Sep 17 00:00:00 2001 From: Genevieve Buckley <30920819+GenevieveBuckley@users.noreply.github.com> Date: Thu, 9 Nov 2023 15:06:32 +1100 Subject: [PATCH] Fix typo in function name _segment_slice_widget --- micro_sam/sam_annotator/annotator_3d.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/micro_sam/sam_annotator/annotator_3d.py b/micro_sam/sam_annotator/annotator_3d.py index 91264417..0bf8cb3c 100644 --- a/micro_sam/sam_annotator/annotator_3d.py +++ b/micro_sam/sam_annotator/annotator_3d.py @@ -27,7 +27,7 @@ @magicgui(call_button="Segment Slice [S]") -def _segment_slice_wigdet(v: Viewer, box_extension: float = 0.1) -> None: +def _segment_slice_widget(v: Viewer, box_extension: float = 0.1) -> None: shape = v.layers["current_object"].data.shape[1:] position = v.cursor.position z = int(position[0]) @@ -301,7 +301,7 @@ def annotator_3d( prompt_widget = vutil.create_prompt_menu(prompts, labels) v.window.add_dock_widget(prompt_widget) - v.window.add_dock_widget(_segment_slice_wigdet) + v.window.add_dock_widget(_segment_slice_widget) v.window.add_dock_widget(_autosegment_widget) v.window.add_dock_widget(_segment_volume_widget) @@ -314,7 +314,7 @@ def annotator_3d( @v.bind_key("s") def _seg_slice(v): - _segment_slice_wigdet(v) + _segment_slice_widget(v) @v.bind_key("Shift-s") def _seg_volume(v):