Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Commit

Permalink
Improve test-full-wf
Browse files Browse the repository at this point in the history
  • Loading branch information
tcompa committed Feb 19, 2024
1 parent 8f32863 commit f8abd94
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion tests/test_full_workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@


def test_workflow_1(tmp_path: Path):
"""
1. create-ome-zarr + yokogawa-to-zarr
2. illumination correction (new images)
3. new_ome_zarr + MIP
"""
root_dir = (tmp_path / "root_dir").as_posix()
dataset_in = Dataset(id=1, root_dir=root_dir)
dataset_out = apply_workflow(
Expand All @@ -34,7 +39,12 @@ def test_workflow_1(tmp_path: Path):
dataset=dataset_in,
)

debug(dataset_out.history)
assert dataset_out.filters == {
"plate": "my_plate_mip.zarr",
"data_dimensionality": "2",
"illumination_correction": True,
}

assert dataset_out.history == [
"create_ome_zarr",
"yokogawa_to_zarr",
Expand Down Expand Up @@ -72,6 +82,10 @@ def test_workflow_1(tmp_path: Path):


def test_workflow_2(tmp_path: Path):
"""
1. create-ome-zarr + yokogawa-to-zarr
2. illumination correction (overwrite_input=True)
"""
root_dir = (tmp_path / "root_dir").as_posix()
dataset_in = Dataset(id=1, root_dir=root_dir)
dataset_out = apply_workflow(
Expand Down

0 comments on commit f8abd94

Please sign in to comment.