JLD.jl
JLD.jl copied to clipboard
Saving and loading julia variables while preserving native types
When using [DrWatson.jl](https://github.com/JuliaDynamics/DrWatson.jl)'s `collect_results!` with `JLD` as the desired output format, things break. Internally, it tries to store a `Dict{Symbol,DataFrame}` ([see here](https://github.com/JuliaDynamics/DrWatson.jl/blob/master/src/result_collection.jl#L108); `wsave` is just a copy of FileIO's `save`)....
Have a pretty big dataset I'm working on that's stored as a bunch of nested Dicts (originally from a JSON file). I can't share the data, but trying to do...
In Julia 0.6.4 ```julia julia> using JLD julia> save("myfile.jld", "x", sprand(10,10,0.01)); ``` Afterwards in Julia 1.0 ```julia julia> using JLD julia> x = load("myfile.jld", "x") ┌ Warning: type Base.SparseArrays.SparseMatrixCSC{Core.Float64,Core.Int64} not...
Error seems to appear when loading a saved file in a `colorview` format. **Steps to reproduce:** ``` using JLD, Images tmp = colorview(RGB, rand(10,10), rand(10,10), rand(10,10)) save("test.jld", "arr", tmp) tmp2...
MWE: ```julia julia> using JLD julia> x = [rand(2,2) for _ in 1:100]; julia> @save "test.jld" x julia> jldopen("test.jld", "r+") do f delete!(f, "x") end false julia> jldopen("test.jld", "r") do...
I was testing #215 and noticed a difference between 0.6 and 0.7 which doesn't show up in the test files, and affects loading from within modules (and affects JLD2 too,...
The packagecompiler seems to generate a module namespace Main.##anon_module#363.YourModule.YourClass So when you attempt to read data, it fails to translate types:  Error is: Error parsing type string Premature end...
When trying to save an array of 26347 strings, it saved as a 77.2 GB sized file in my JuliaBox. Picture of the code of my array:  The code...
When trying write a storage module that would internally use JLD, I ran into the following weird behavior: ``` julia> using JLD julia> save("d.jld", "d", Dict("a" => 1.0)) ``` then...
Getting the following error when reading dictionnary with a boolean value ``` julia> file = jldopen("test.jld","w"); write(file,"d",Dict(:b => true)); close(file) julia> file = jldopen("test.jld","r"); read(file,"d"); close(file) ERROR: unrecognized HDF5 datatype...