phenotypic.sdk_.zarr_store_path#

phenotypic.sdk_.zarr_store_path(output_dir: Path, dataset: str, stem: str) Path[source]#

Return <output>/results/<dataset>/zarr/<stem>.ome.zarr/.

The single place .ome.zarr is joined to an image stem. Callers must never hand-join the suffix, and must take the stem back off a store with store_stem() rather than Path.stem. Both rules are enforced by tests/unit/test_ome_zarr_invariants.py (test_store_suffix_is_joined_in_exactly_one_place and test_path_stem_is_never_taken_of_a_store_directory).

Parameters:
  • output_dir (Path) – Run output root.

  • dataset (str) – Dataset name.

  • stem (str) – Image filename without extension.

Returns:

The per-image store path. Existence is not checked.

Return type:

Path