Skip to content

Commit

Permalink
add tests that stage position is present in metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
ieivanov committed Nov 9, 2024
1 parent 4fabccd commit c5f3e17
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/mmstack/test_mmstack.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ def test_mmstack_metadata(ome_tiff):
assert isinstance(mmstack.micromanager_metadata, dict)
assert mmstack.micromanager_metadata["Summary"]
assert mmstack.micromanager_summary
if mmstack.stage_positions:
assert "DefaultXYStage" in mmstack.stage_positions[0]


def test_fov_axes_names(ome_tiff):
Expand Down
2 changes: 2 additions & 0 deletions tests/test_ndtiff.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ def test_dataset_metadata(ndtiff_dataset):
assert isinstance(dataset.micromanager_metadata, dict)
assert dataset.micromanager_metadata["Summary"]
assert isinstance(dataset.micromanager_summary, dict)
if dataset.stage_positions:
assert "DefaultXYStage" in dataset.stage_positions[0]


@pytest.mark.parametrize("ndtiff_v2", ndtiff_v2_datasets)
Expand Down

0 comments on commit c5f3e17

Please sign in to comment.