Skip to content

Commit

Permalink
Use "deskewed_image" in all workflow tests
Browse files Browse the repository at this point in the history
  • Loading branch information
multimeric committed Aug 16, 2024
1 parent 2512d3c commit 5f29bc7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions core/tests/test_workflows.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
from typing import Callable
from copy import copy
from importlib_resources import as_file
from numpy.typing import NDArray

from napari_workflows import Workflow
import tempfile

from pandas import DataFrame
from lls_core.models.lattice_data import LatticeData
from lls_core.sample import resources
from aicsimageio.aics_image import AICSImage

from tests.utils import invoke
from pathlib import Path
Expand All @@ -24,7 +21,7 @@ def test_napari_workflow(image_workflow: Workflow, test_image: NDArray):
"""
workflow = copy(image_workflow)
# Set input image to be the "raw" image
workflow.set("input", test_image)
workflow.set("deskewed_image", test_image)
labeling = workflow.get("labeling")
assert labeling[2, 2, 2] == 1

Expand Down
4 changes: 2 additions & 2 deletions core/tests/workflows/argument_order/test_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
_tasks:
test: !!python/tuple
- !!python/name:custom_function.test ''
- input_img
- deskewed_image
- "abc"
- 3
- 3

0 comments on commit 5f29bc7

Please sign in to comment.