From f8abd94324293e6bb5b702336560a95a9019cc50 Mon Sep 17 00:00:00 2001 From: Tommaso Comparin <3862206+tcompa@users.noreply.github.com> Date: Mon, 19 Feb 2024 11:04:42 +0100 Subject: [PATCH] Improve test-full-wf --- tests/test_full_workflows.py | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/tests/test_full_workflows.py b/tests/test_full_workflows.py index b098d4c..09b46ba 100644 --- a/tests/test_full_workflows.py +++ b/tests/test_full_workflows.py @@ -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( @@ -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", @@ -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(