We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88ddbb3 commit e95fdb7Copy full SHA for e95fdb7
1 file changed
src/zarr/core/array.py
@@ -6242,7 +6242,7 @@ async def _resize(
6242
if delete_outside_chunks and not only_growing:
6243
# Remove all chunks outside of the new shape
6244
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))
+ new_chunk_coords = set(new_metadata.chunk_grid.all_chunk_coords(new_shape))
6246
6247
async def _delete_key(key: str) -> None:
6248
await (array.store_path / key).delete()
0 commit comments