phenotypic.sdk_.store_stem#
- phenotypic.sdk_.store_stem(store_path: Path) str[source]#
Return the image stem of an
*.ome.zarror*.zarrdirectory.Path.stemis WRONG here — it strips one suffix and leavesimg.ome, which is a plausible-looking wrong name rather than an error: it propagates into parquet filenames and completion markers, andzarr_store_path(out, ds, "img.ome")then resolves to a store that does not exist, so every image reprocesses forever.- Parameters:
store_path (Path) – A
<stem>.ome.zarror<stem>.zarrdirectory.- Returns:
The bare stem, e.g.
"img"forimg.ome.zarr.- Raises:
ValueError – If store_path does not end in
.zarr. It raises rather than falling back to.stem, because a silent fallback is exactly the failure being prevented.- Return type: