parsing header failed: expected character ''', found '['
Stacktrace:
[1] parsechar(::String, ::Char) at /home/janders/.julia/v0.6/NPZ/src/NPZ.jl:70
[2] parsestring(::String) at /home/janders/.julia/v0.6/NPZ/src/NPZ.jl:76
[3] parsedtype(::String) at /home/janders/.julia/v0.6/NPZ/src/NPZ.jl:123
[4] parseheader(::String) at /home/janders/.julia/v0.6/NPZ/src/NPZ.jl:157
[5] npzreadarray(::IOStream) at /home/janders/.julia/v0.6/NPZ/src/NPZ.jl:191
[6] npzread(::String) at /home/janders/.julia/v0.6/NPZ/src/NPZ.jl:218
versioninfo():
Julia Version 0.6.1-pre.0
Commit dcf39a1 (2017-06-19 13:06 UTC)
Platform Info:
OS: Linux (x86_64-redhat-linux)
CPU: Intel(R) Xeon(R) CPU E5-2670 v3 @ 2.30GHz
WORD_SIZE: 64
BLAS: libmkl_rt
LAPACK: libmkl_rt
LIBM: libopenlibm
LLVM: libLLVM-3.9.1 (ORCJIT, haswell)
And my NPZ package has head at
* 60c4bc9 2017-02-01 (HEAD, tag: v0.2.0, origin/master, cache/heads/master, master) REQUIRE: downgrade Compat because we don't use Compat.view [Fazlul Shahriar]
I have a npy file that I cannot read. I keep getting an error saying parsing header failed: expected character ''', found '['.
The file can be created as follows...
or alternatively just writing the bytes of the file from julia
Then i read the file the usual way...
and this is my stacktrace
versioninfo():
And my NPZ package has head at