Commit f3531bef authored by Alessandro 's avatar Alessandro

read_CHeader updated to read ratio method dat files

parent 08e2b69f
...@@ -70,10 +70,13 @@ function read_CHeader(path::String; legacy::Bool=false) ...@@ -70,10 +70,13 @@ function read_CHeader(path::String; legacy::Bool=false)
else else
aux_f = zeros(Float64, 4) aux_f = zeros(Float64, 4)
aux_i = zeros(Int32, 4) aux_i = zeros(Int32, 4)
extra_info = zeros(Float64, 8) #mon hotfix
for k = 1:gh.ncorr for k = 1:gh.ncorr
read!(data, aux_f) read!(data, aux_f)
read!(data, extra_info) #mon hotfix
read!(data, aux_i) read!(data, aux_i)
a[k] = CHeader(aux_f, aux_i) a[k] = CHeader(aux_f, aux_i)
a[k].hsize += 8 * 8 #mon hotfix
end end
end end
close(data) close(data)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment