-
Notifications
You must be signed in to change notification settings - Fork 5
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
Easy way to load all needed packages after activating enviroment? #94
Comments
I just tested in Julia 1.5.3 and the snippet worked. |
Yeah, but unless we're inspecting the serialized objects this feels like more of a Pkg issue? |
I think we should do exactly that. |
Hmm, maybe we should do that in another package? I've heard people complain that JLD2.jl doesn't do that either. |
I think we should work it out here, and worry about generalizing later |
Okay, added a MWE in the PR linked. |
The enviroment stored in the JLSO means we always have access to the right packages.
Bu they need to be
using
ed (or at leastBase.require
ed) to have the JLSO correctly deserialize any types from them.Else you get a
UInt8
array.Ideally we would workout which are actually used in the JLSO for a particular object and be able to
using
them.A work around is to load everything.
It is a bit gross but the following works (I think it needs julia 1.4)
The text was updated successfully, but these errors were encountered: