diff --git a/anndata/experimental/merge.py b/anndata/experimental/merge.py index 2413b3348..69b97377a 100644 --- a/anndata/experimental/merge.py +++ b/anndata/experimental/merge.py @@ -172,7 +172,10 @@ def write_concat_dense( """ import dask.array as da - darrays = (da.from_array(a, chunks="auto") for a in arrays) + darrays = ( + da.from_array(a, chunks="auto" if a.chunks is None else a.chunks) + for a in arrays + ) res = da.concatenate( [