Skip to content

Commit

Permalink
Fix dtype of demo data (#94)
Browse files Browse the repository at this point in the history
* Fix crop test

* Fix dtype of demo data
  • Loading branch information
C-Achard authored Sep 9, 2024
1 parent 9340105 commit 610ef23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified examples/c5image.tif
Binary file not shown.
4 changes: 2 additions & 2 deletions napari_cellseg3d/_tests/test_plugin_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ def test_crop_widget(make_napari_viewer_proxy):
view = make_napari_viewer_proxy()
widget = Cropping(view)

image = rand_gen.random((10, 10, 10)).astype(np.int8)
image = rand_gen.random((10, 10, 10))
image_layer_1 = view.add_image(image, name="image")
image_layer_2 = view.add_labels(image, name="image2")
image_layer_2 = view.add_labels(image.astype(np.uint16), name="image2")

view.window.add_dock_widget(widget)
view.dims.ndisplay = 3
Expand Down

0 comments on commit 610ef23

Please sign in to comment.