-
Notifications
You must be signed in to change notification settings - Fork 528
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
Nested compound types TypeError #1197
Comments
Does anyone want to investigate this? Otherwise I'll drop the milestone soon. I'm not really familiar with regular compound types, let alone nested ones, so I'm not intending to work on this myself. |
Looking at where it's failing, https://github.com/h5py/h5py/blob/master/h5py/_hl/dataset.py#L646 looks to be assuming that there is only one level of compound types. We could document that nested compound types are currently not supported, and that we'd accept a PR to support nested compound types (there are probably other changes needed other than that line, I don't think it's an easy fix). |
Thanks @aragilar - let's do that for 2.10, and leave this issue open without a specific milestone. |
Wow, hard to believe that this is missing. It definitely shouldn't be scheduled for v2.10 if no one is interested in working on it. |
First of all, thank you for helping with the h5py package.
I believe I have encountered a bug related to nested compound data types. Below you can find a minimal example.
The last line raises the error
Transposing the format
d
or the arraya
does not help.Instead, if I create the dataset with a different type, the write works without problems
My version info is as follows
The text was updated successfully, but these errors were encountered: