phenotypic.sdk_.store_revision_identity#
- phenotypic.sdk_.store_revision_identity(path: Path) str[source]#
Return a stable revision identity for one OME-Zarr store.
PhenoTypic-published immutable generations use the explicit root-last publication token and touch only
zarr.json. Generic third-party stores have no publication invariant, so the conservative fallback hashes framed relative paths, member types, sizes, and nanosecond mtimes twice to reject an unstable snapshot. It intentionally does not read chunk contents: CLI work and completion use a separate content-digest contract.- Parameters:
path (Path) – Existing
*.ome.zarrdirectory.- Returns:
A versioned SHA-256 metadata identity.
- Raises:
OSError – If the store is unstable or contains a symlink or another non-regular member.
ValueError – If
pathis not named as an OME-Zarr store.
- Return type: