Skip to content

Commit

Permalink
Uncomment skip tests for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
anwai98 committed Nov 19, 2024
1 parent 187f575 commit 8698da7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/test_sam_annotator/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from shutil import which, rmtree

import zarr
# import pytest
import pytest
import imageio.v3 as imageio
from skimage.data import binary_blobs

Expand Down Expand Up @@ -38,7 +38,7 @@ def test_annotator_tracking(self):
def test_image_series_annotator(self):
self._test_command("micro_sam.image_series_annotator")

# @pytest.mark.skipif(platform.system() == "Windows", reason="Gui test is not working on windows.")
@pytest.mark.skipif(platform.system() == "Windows", reason="Gui test is not working on windows.")
def test_precompute_embeddings(self):
self._test_command("micro_sam.precompute_embeddings")

Expand Down Expand Up @@ -95,6 +95,8 @@ def test_automatic_segmentation(self):
image_data = binary_blobs(512).astype("uint8") * 255
imageio.imwrite(im_path, image_data)

print(image_data.shape)

out_path = "output.tif"

# Test AMG with default model in default mode.
Expand Down

0 comments on commit 8698da7

Please sign in to comment.