From 8698da715053ddaeebd07ecc83bce252a7aae15b Mon Sep 17 00:00:00 2001 From: Anwai Archit Date: Tue, 19 Nov 2024 10:41:57 +0100 Subject: [PATCH] Uncomment skip tests for windows --- test/test_sam_annotator/test_cli.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/test_sam_annotator/test_cli.py b/test/test_sam_annotator/test_cli.py index 2eaad97d..4c914c5b 100644 --- a/test/test_sam_annotator/test_cli.py +++ b/test/test_sam_annotator/test_cli.py @@ -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 @@ -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") @@ -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.