Skip to content

Commit

Permalink
release docs
Browse files Browse the repository at this point in the history
  • Loading branch information
normanrz committed Jan 9, 2025
1 parent 57ec320 commit 0236ca3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ Fixes
and a warning if the version was incompatible with `zfpy`.
This check has been removed because `zfpy` now supports the newer versions of `NumPy`.
By :user:`Meher Gajula <me-her>`, :issue:`672`
* Remove redundant ``id`` from codec metadata serialization in Zarr3 codecs.
By :user:`Norman Rzepka <normanrz>`, :issue:`685`

Improvements
~~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion numcodecs/json.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def __init__(
def encode(self, buf):
try:
buf = np.asarray(buf)
except ValueError:
except ValueError: # pragma: no cover
buf = np.asarray(buf, dtype=object)
items = np.atleast_1d(buf).tolist()
items.append(buf.dtype.str)
Expand Down

0 comments on commit 0236ca3

Please sign in to comment.