Skip to content

Commit

Permalink
Fixed file paths for test images
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorTatarnikov committed Nov 28, 2023
1 parent 0fb4875 commit bdc52bc
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit bdc52bc

Please sign in to comment.