diff --git a/src/anndata/_types.py b/src/anndata/_types.py index b06fd7792..75586bbf0 100644 --- a/src/anndata/_types.py +++ b/src/anndata/_types.py @@ -207,7 +207,7 @@ def __call__( store The store to which `elem` should be written. elem_name - The key to read in from the group. + The key to write out to the group. elem The element to write out. iospec diff --git a/tests/accessors/test_get.py b/tests/accessors/test_get.py index 82c1344ab..90fac7c26 100644 --- a/tests/accessors/test_get.py +++ b/tests/accessors/test_get.py @@ -124,7 +124,6 @@ def conv(v: InMemoryArray) -> InMemoryArray: v = v.toarray() return array_conv(v) - adata.X = conv(adata.X) for k, v in adata.layers.items(): adata.layers[k] = conv(v) for k, v in adata.varm.items():