JLD.jl
JLD.jl copied to clipboard
Saving and loading julia variables while preserving native types
When attempting to open the file with h5py I get this error: `TypeError: No NumPy equivalent for TypeBitfieldID exists`
Hello. When I load multiple JLD files, the data is not garbage collected causing memory exhaustion. For instance, the following code keeps rising memory consumption. Is this related to [HDF5.jl...
JLD seems to interpret slashes in dictionary keys as a group hierarchy, as demonstrated by this MWE, ```julia using JLD data = Dict( "/foo/bar" => "some data", "/foo/baz" => "more...
Loading old JLD file produces this under julia 1.1. How this can be resolved? ``` ERROR: stored type Core.Bool does not match currently loaded type Stacktrace: [1] jldatatype(::JLD.JldFile, ::HDF5.HDF5Datatype) at...
Hello. We are trying to read a JLD file directly. However, the @code_warntype gives warning that the returned result of read() is ::Any, and consequently the length of the string...
``` julia> include("examples/deformation_linear\\statics\\3-d\\compute_errors.jl") error parsing type string FinEtools.FEMMDeforLinearModule.FEMMDeforLinear{FinEtools.DeforModelRedModule.DeforModelRed3D,FinEtools.FESetModule.FESetT10,FinEtools.GeoDModule.#otherdimensionunity,FinEtools.MatDeforElastIsoModule.MatDeforElastIso{FinEtools.DeforModelRedModule.DeforModelRed3D,FinEtools.MatDeforElastIsoModule.#tangentmoduli3d!,FinEtools.MatDeforElastIsoModule.#update3d!,FinEtools.MatDeforElastIsoModule.#thermalstrain3d!}} ERROR: LoadError: syntax: incomplete: premature end of input Stacktrace: [1] _julia_type(::String) at C:\Users\PetrKrysl\.julia\v0.7\JLD\src\JLD.jl:980 [2] julia_type(::String) at C:\Users\PetrKrysl\.julia\v0.7\JLD\src\JLD.jl:27 [3] jldatatype(::JLD.JldFile, ::HDF5.HDF5Datatype) at C:\Users\PetrKrysl\.julia\v0.7\JLD\src\jld_types.jl:694...
JLD failure
A file generated (JLD.save) with the latest version of julia (1.1) and JLD (v0.9.1) cannot be loaded back using JLD.load. How is this possible? ERROR: unrecognized HDF5 datatype class 4...
“JLD files are capable of executing arbitrary code when read in.”
I'd like to use JLD within a package to save custom types from that same package. What's the correct way to do this? Call the package itself from within `addrequire()`...
If I'm not mistaken, right now one can only specify compression via compress::Bool - but it would be helpful to specify which kind of compression to use, especially since not...