I have series of files saved via JLD2. I want to load them, one by one and do some operations on them.
Generally I want to do following:
filename = "somefilename.jld"
@load filename
When I do it I get:
julia> @load filename
ERROR: MethodError: no method matching jldopen(::Symbol)
Closest candidates are:
jldopen(::AbstractString) at /home/szpieg/.julia/packages/JLD2/ssCUN/src/JLD2.jl:292
jldopen(::AbstractString, ::Bool, ::Bool, ::Bool) at /home/szpieg/.julia/packages/JLD2/ssCUN/src/JLD2.jl:209
jldopen(::AbstractString, ::Bool, ::Bool, ::Bool, ::T; fallback, compress, mmaparrays) where T<:Union{Type{IOStream}, Type{JLD2.MmapIO}} at /home/szpieg/.julia/packages/JLD2/ssCUN/src/JLD2.jl:209