Skip to content

Commit e95fdb7

Browse files
committed
Fix resizing
1 parent 88ddbb3 commit e95fdb7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/zarr/core/array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6242,7 +6242,7 @@ async def _resize(
62426242
if delete_outside_chunks and not only_growing:
62436243
# Remove all chunks outside of the new shape
62446244
old_chunk_coords = set(array.metadata.chunk_grid.all_chunk_coords(array.metadata.shape))
6245-
new_chunk_coords = set(array.metadata.chunk_grid.all_chunk_coords(new_shape))
6245+
new_chunk_coords = set(new_metadata.chunk_grid.all_chunk_coords(new_shape))
62466246

62476247
async def _delete_key(key: str) -> None:
62486248
await (array.store_path / key).delete()

0 commit comments

Comments
 (0)