Skip to content

Commit

Permalink
Merge pull request #2 from leaBroe/main
Browse files Browse the repository at this point in the history
fixed directories in tests
  • Loading branch information
leaBroe authored Nov 20, 2023
2 parents 43a5176 + 93a38e7 commit b3127c9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/arcospx/_tests/test_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ def test_remove_background(make_napari_viewer, qtbot):
Test background removal on a simple image.
"""
viewer = make_napari_viewer()
test_img = imread('test_data/1_growing.tif')
test_img = imread('src/arcospx/_tests/test_data/1_growing.tif')
viewer.add_image(test_img, name='test_img')
true_img = imread('test_data/1_growing_true.tif')
true_img = imread('src/arcospx/_tests/test_data/1_growing_true.tif')
_,widget = viewer.window.add_plugin_dock_widget("arcosPx-napari", "Remove Background")
widget.image.value = viewer.layers['test_img']
widget.filter_type.value = "gaussian"
Expand All @@ -35,9 +35,9 @@ def test_track_events(make_napari_viewer, qtbot):
Test tracking on a simple image.
"""
viewer = make_napari_viewer()
test_img = imread('test_data/test_data_track_events.tif')
test_img = imread('src/arcospx/_tests/test_data/test_data_track_events.tif')
viewer.add_image(test_img, name='test_img')
true_img = imread('test_data/test_track_events_true.tif')
true_img = imread('src/arcospx/_tests/test_data/test_track_events_true.tif')
_, widget = viewer.window.add_plugin_dock_widget("arcosPx-napari", "Track Events")
widget.image_selector.value = viewer.layers['test_img']
widget.threshold.value = 300
Expand Down

0 comments on commit b3127c9

Please sign in to comment.