JLD.jl icon indicating copy to clipboard operation
JLD.jl copied to clipboard

Saving and loading julia variables while preserving native types

Results 100 JLD.jl issues
Sort by recently updated
recently updated
newest added
trafficstars

using Compose using Colors using Measures using Mocha TypeError: read_refs: in typeassert, expected Array{Array{T,N},1}, got Array{Array{T,N},1} in read_refs(::JLD.JldDataset, ::Type{Array{Array{T,N},1}}, ::Int32, ::Int32, ::Tuple{Int64}) at JLD.jl:486 in read_array(::JLD.JldDataset, ::HDF5.HDF5Datatype, ::Int32, ::Int32, ::Tuple{Int64})...

The documentation says: ``` Int128/Uint128: presumably similar to Complex128 (encode as pair of Uint64). The holdup: is the sign bit portable? ``` HDF5 allows defining arbitrary integer datatypes by specifying...

fixed in JLD2

Dearests, I want to store an array of type `x::Array{Tuple{Int64,Int64,Float64},1}`. Hereafter is the result ``` julia> x 10000-element Array{Tuple{Int64,Int64,Float64},1} ``` now I `@save "x.jld" x` and the size of the...

fixed in JLD2

When I try to read in a dataset I get the following: ``` ERROR: stored type Core.Tuple{Core.Float64,Core.Bool} does not match currently loaded type ``` I can't do it right this...

fixed in JLD2

Hi, Just doing `Pkg.add("JLD")` results in HDF5 build errors on Mac OS X, unless CLT is already installed. A popup window comes up to install CLT, but even if you...

fixed in JLD2

Compared against `deserialize`. For example ``` dts = [ DateTime()+Dates.Millisecond(i) for i=1:1000000 ] JLD.save("test.jld", "x", dts); open(f->serialize(f,dts),"test.jls","w") # after warm-up julia> @time JLD.load("test.jld"); 0.073771 seconds (2.00 M allocations: 45.800 MB,...

fixed in JLD2

Saving a 0-dimensional array can cause an error: ```julia JLD.save("file.jld", "name", Array(Int)) ``` ``` LoadError: MethodError: no method matching one(::Type{Any}) Closest candidates are: one(!Matched::Type{Measures.Length{:mm,Float64}}) at /home/tim/.julia/v0.5/Plots/src/layouts.jl:17 one(!Matched::Type{Measures.Length{:pct,Float64}}) at /home/tim/.julia/v0.5/Plots/src/layouts.jl:35 one(!Matched::BitArray{2})...

fixed in JLD2

| || | | | (| | | Version 0.5.0 (2016-09-19 18:14 UTC) / |'|||'_| | Official http://julialang.org/ release |__/ | x86_64-w64-mingw32 julia> Pkg.update() INFO: Updating METADATA... INFO: Updating cache...

help wanted
fixed in JLD2

An example: ```julia julia> type A; x::Any; end julia> type B; a::A; end; julia> a=A(0) A(0) julia> b=B(a) B(A(0)) julia> a.x = b B(A(B(#= circular reference @-2 =#))) julia> save("a.jld",...

fixed in JLD2

Julia version is 0.6 in macOS 10.12.4, the error appears like following but not sure whether it comes from `JLD` or `DataStructures` ``` julia> using DataStructures, JLD julia> a =...

fixed in JLD2