Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/zarr/storage/_local.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ def _put(
if start is not None:
with path.open("r+b") as f:
f.seek(start)
f.write(value.as_numpy_array().tobytes())
f.write(value.as_numpy_array())
Comment thread
tomwhite marked this conversation as resolved.
Outdated
return None
else:
view = memoryview(value.as_numpy_array().tobytes())
view = memoryview(value.as_numpy_array())
Comment thread
tomwhite marked this conversation as resolved.
Outdated
if exclusive:
mode = "xb"
else:
Expand Down