We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93d8910 commit 3bc4ee2Copy full SHA for 3bc4ee2
src/anndata/_io/specs/lazy_methods.py
@@ -105,7 +105,7 @@ def make_dask_chunk(
105
idx = tuple(
106
slice(start, stop) for start, stop in block_info[None]["array-location"]
107
)
108
- if f.attrs["encoding-type"] == "string-array" and isinstance(f, h5py.Dataset):
+ if isinstance(f, h5py.Dataset) and f.attrs["encoding-type"] == "string-array":
109
mtx = mtx.asstr()
110
chunk = mtx[idx]
111
return chunk
0 commit comments