We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using HDF5.jl v0.17.2, attributes seem to have some weird caching problem that brings old values back from the dead. To recreate:
julia> h5 = h5open("test.h5", "w") 🗂️ HDF5.File: (read-write) test.h5 julia> h5["data"] = rand(4,3); julia> h5["data"]["attr"] = "foo" "foo" julia> h5 🗂️ HDF5.File: (read-write) test.h5 └─ 🔢 data └─ 🏷️ attr julia> h5["data"]["attr"][] "foo" julia> delete_attribute(h5["data"], "attr") julia> h5 🗂️ HDF5.File: (read-write) test.h5 └─ 🔢 data julia> h5["data"]["attr"][] ERROR: KeyError: key "attr" not found Stacktrace: [1] getindex(dset::HDF5.Dataset, name::String) @ HDF5 ~/.julia/packages/HDF5/Z859u/src/attributes.jl:403 [2] top-level scope @ REPL[119]:1 julia> h5["data"]["attr"] = "bar" "bar" julia> h5["data"]["attr"][] # Should return "bar"!!! "foo" julia> close(h5) julia> h5 = h5open("test.h5") 🗂️ HDF5.File: (read-only) test.h5 └─ 🔢 data └─ 🏷️ attr julia> h5["data"]["attr"][] "bar"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Using HDF5.jl v0.17.2, attributes seem to have some weird caching problem that brings old values back from the dead. To recreate:
The text was updated successfully, but these errors were encountered: