Skip to content

Commit 3bc4ee2

Browse files
committed
fix: check order
1 parent 93d8910 commit 3bc4ee2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/anndata/_io/specs/lazy_methods.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def make_dask_chunk(
105105
idx = tuple(
106106
slice(start, stop) for start, stop in block_info[None]["array-location"]
107107
)
108-
if f.attrs["encoding-type"] == "string-array" and isinstance(f, h5py.Dataset):
108+
if isinstance(f, h5py.Dataset) and f.attrs["encoding-type"] == "string-array":
109109
mtx = mtx.asstr()
110110
chunk = mtx[idx]
111111
return chunk

0 commit comments

Comments
 (0)