Closed lukasgrunwald closed 1 year ago
Hi @lukasgrunwald , this is a neat idea.
I would recommend making the type signatures flexible enough to also accept JLD2.Group
s.
You're welcome to give it a try.
Building a small extension like that isn't too hard. I'm not sure how much documentation there exists around it but here's a link to some code where I tested out extensions for a different project https://gitlab.gwdg.de/eDLS/InPartS.jl/-/commit/a8982109c774ebc54933aaa95e4f9dcda1cdd1d4
I would be nice to be able to use
@pack!
and@unpack
from theUnPack.jl
-package to quickly store and load values from JLD2File instances. This can be achieved by adding the methodsAfter defining above extensions, these methods can be used as
Maybe this could be added with UnPack.jl as on optional dependency; not sure how that works though? Happy to try and make a PR if you are open to doing this.