-
-
Notifications
You must be signed in to change notification settings - Fork 348
Open
Labels
bugPotential issues with the zarr-python libraryPotential issues with the zarr-python library
Description
this example does not work in main
:
def test_x() -> None:
array = create(
store={},
path='foo',
dtype='O',
zarr_format=2,
shape=(3,)
)
array[:] = np.array(['a', 'b', 'c'], dtype='O')
The problem is caused because zarr chooses the wrong default filters for O
dtype arrays -- zarr chooses VlenBytes
, when it should be choosing VlenUTF8
. Since the structure of the default codecs is likely to change soon, the fix should probably be made in the context of #2463
cc @dcherian
dcherian
Metadata
Metadata
Assignees
Labels
bugPotential issues with the zarr-python libraryPotential issues with the zarr-python library