-
Notifications
You must be signed in to change notification settings - Fork 138
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
Empty (extensible) dataset cannot be read back #859
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just stumbled upon the issue that
HDF5.jl
chokes on datasets which were initialised to 0-size but never resized or populated later.A workaround is of course to not create datasets which are empty but currently I set-up my data processing in a homogenous way, so that each HDF5 file has the same structure and sometimes a dataset is empty.
Maybe I am doing something wrong and this is not the way to initialise datasets which might be empty, but that's what I found in the HDF5 docs and also in examples.
Here is a MWE, just uncomment the two lines and the error disappears:
Here is the error which indicates that the binary parsing loses track:
The text was updated successfully, but these errors were encountered: