Skip to content

Commit

Permalink
What matters is whether delete_pts is selected on close
Browse files Browse the repository at this point in the history
  • Loading branch information
jni committed Dec 12, 2023
1 parent 69f8004 commit 4156cb1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/affinder/_tests/test_affinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,12 +186,11 @@ def test_remove_points_layers(remove_pts, make_napari_viewer):
reference=ref_layer,
moving=mov_layer,
model=AffineTransformChoices.affine,
delete_pts=remove_pts
)
viewer.layers['ref_im_pts'].data = ref_pts
viewer.layers['mov_im_pts'].data = mov_pts

widget() # close the widget
widget(delete_pts=remove_pts) # close the widget

assert widget._call_button.text == 'Start'

Expand Down

0 comments on commit 4156cb1

Please sign in to comment.