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

Warning: object_info is deprecated, use API.h5o_get_info1 instead #324

Closed
roccminton opened this issue Jun 21, 2023 · 1 comment · Fixed by #325
Closed

Warning: object_info is deprecated, use API.h5o_get_info1 instead #324

roccminton opened this issue Jun 21, 2023 · 1 comment · Fixed by #325

Comments

@roccminton
Copy link

I'm saving and loading Dictionaries of type {:String,:Any}. My values are either integers, vectors or matricies. Both saving and loading work without further problems. I ony get the following warning everytime:

┌ Warning: object_info(obj::Union{File, Object}) is deprecated, use API.h5o_get_info1(checkvalid(obj)) instead.
│ caller = write_ref(parent::JLD.JldFile, data::Int64, wsession::JLD.JldWriteSession) at JLD.jl:696
└ @ JLD ~/.julia/packages/JLD/S6t6A/src/JLD.jl:696

Moreover I have the impression that loading and saving takes unnecessarily much time and that the saved files take unnecessarily much storage space.

Can someone explain the warning to me? May there be a relation between my impression on time and storage consumption and that particular warning?

Thank you very much for any help!

@mkitti
Copy link
Member

mkitti commented Jun 22, 2023

This is mainly a note to the developer to use a different API call. You can ignore it.

As far as performance issues, it would be good if you could provide a minimum working example for us to analyze.

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

Successfully merging a pull request may close this issue.

3 participants