Skip to content

Commit 316c63d

Browse files
committed
missed return value
1 parent 4ec8370 commit 316c63d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

xarray/core/dataset.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,9 @@ def _maybe_chunk(
287287
chunks = {dim: chunks[dim] for dim in var.dims if dim in chunks}
288288

289289
if var.ndim:
290-
guess_chunkmanager(chunked_array_type)
290+
chunked_array_type = guess_chunkmanager(
291+
chunked_array_type
292+
) # coerce string to ChunkManagerEntrypoint type
291293
if isinstance(chunked_array_type, DaskManager):
292294
from dask.base import tokenize
293295

0 commit comments

Comments
 (0)