You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> np.testing.assert_equal(basis_names, basis_names_2)
E AssertionError:
E Arrays are not equal
E
E Mismatched elements: 5 / 5 (100%)
E x: array(['e1', 'e2', 'e3', 'e4', 'e5'], dtype='<U2')
E y: array([b'e1', b'e2', b'e3', b'e4', b'e5'], dtype=object)
Somehow the array is being converted from str to bytes...
Versions:
numpy: 1.19.4
h5py: 3.1.0
python: 3.8.6
The text was updated successfully, but these errors were encountered:
Closes#387. h5py 3 overhauls how string serialization works, meaning that the reader always has to ask for them to be decoded back to `str` from `bytes`.
https://travis-ci.org/github/pygae/clifford/jobs/751737929#L369-L388
This looks like a possible bug in h5py:
clifford/clifford/test/test_io.py
Lines 22 to 35 in a1b1ba3
Somehow the array is being converted from
str
tobytes
...Versions:
The text was updated successfully, but these errors were encountered: