Skip to content

Commit 7ba61c9

Browse files
ClaptarCopilot
andauthored
Update src/h5ad/storage/__init__.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent a62f6e0 commit 7ba61c9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/h5ad/storage/__init__.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ def warn_if_missing_anndata_root_attrs(root: Any, *, path: Path) -> None:
143143
enc_ver = _decode_attr(root.attrs.get("encoding-version", None))
144144
warnings.warn(
145145
(
146-
f"Store '{path}' root is missing required AnnData attrs "
147-
f"(encoding-type='anndata', encoding-version='0.1.0'). "
146+
f"Store '{path}' root has missing or invalid AnnData attrs "
147+
f"(encoding-type={ROOT_ENCODING_TYPE!r}, encoding-version={ROOT_ENCODING_VERSION!r}). "
148148
f"Found encoding-type={enc_type!r}, encoding-version={enc_ver!r}."
149149
),
150150
UserWarning,

0 commit comments

Comments
 (0)