Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for variable length strings is only partially there. It may not be hard to add. #16

Open
bnlawrence opened this issue Dec 28, 2024 · 0 comments

Comments

@bnlawrence
Copy link
Collaborator

If we attempt to read a variable length string created as follows:

_vlen_string = "foo"
dt = h5py.special_dtype(vlen=str)
v = ds.create_variable("var_len_str", ("x",), dtype=dt)
v[0] = _vlen_string

which would be read by h5py as v[0] and showing as dtype('O'), it shows
as dtype= ('VLEN_STRING', 0, 1) and an attempt to read v[0] returns:

NotImplementedError('datatype not implemented - {dtype_class}')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant