Closed GregPlowman closed 3 years ago
Yes! It works!
Sorry for hijacking this closed thread. FileIO nags with numerous same warnings in Julia 1.6.1 during unit tests. How can I turn off the warnings? Thanks!
(@v1.6) pkg> add JLD
Resolving package versions...
Updating `~/.julia/environments/v1.6/Project.toml`
[4138dd39] + JLD v0.10.0
Updating `~/.julia/environments/v1.6/Manifest.toml`
[a74b3585] + Blosc v0.7.0
[f67ccb44] + HDF5 v0.13.7
[4138dd39] + JLD v0.10.0
[0b7ba130] + Blosc_jll v1.21.0+0
[0234f1f7] + HDF5_jll v1.10.5+7
[5ced341a] + Lz4_jll v1.9.3+0
julia> using JLD
julia> save("test.jld", Dict("x" => 42))
┌ Warning: JLD incorrectly extends FileIO functions (see FileIO documentation)
└ @ FileIO ~/.julia/packages/FileIO/JA3Vl/src/loadsave.jl:215
julia> versioninfo()
Julia Version 1.6.1
Commit 6aaedecc44 (2021-04-23 05:59 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-11.0.1 (ORCJIT, broadwell)
Edit: Solved by switching to JLD2.
Now getting this warning from
FileIO
, probably since latest release (FileIO v1.6.0
).