From 02b379102b9d5d2880e4250dfd51926e31ae27db Mon Sep 17 00:00:00 2001 From: IgorTatarnikov Date: Tue, 28 Nov 2023 13:31:52 +0000 Subject: [PATCH] Fixed file paths for test images --- tests/conftest.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index b186cf8..a7708ef 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -13,12 +13,8 @@ def make_napari_viewer_with_images(make_napari_viewer, pytestconfig): viewer = make_napari_viewer() root_path = pytestconfig.rootpath - atlas_image = Image.open( - root_path / "src/tests/test_images/Atlas_Hipp.tif" - ) - moving_image = Image.open( - root_path / "src/tests/test_images/sample_hipp.tif" - ) + atlas_image = Image.open(root_path / "tests/test_images/Atlas_Hipp.tif") + moving_image = Image.open(root_path / "tests/test_images/sample_hipp.tif") viewer.add_image(np.asarray(moving_image), name="moving_image") viewer.add_image(np.asarray(atlas_image), name="atlas_image")