Commit aac1c405 authored by Javier's avatar Javier

renaming read_GHeader

parent f8155fce
function read_global_header(path::String)
function read_GHeader(path::String)
data = open(path, "r")
g_header = zeros(Int32, 4)
read!(data, g_header)
......@@ -8,7 +8,7 @@ function read_global_header(path::String)
end
function read_CHeader(path::String; legacy::Bool=false)
gh = read_global_header(path)
gh = read_GHeader(path)
data = open(path, "r")
seek(data, gh.hsize)
......@@ -109,7 +109,7 @@ function read_mesons(path::String, g1::Union{String, Nothing}=nothing, g2::Union
end
data = open(path, "r")
g_header = read_global_header(path)
g_header = read_GHeader(path)
c_header = read_CHeader(path, legacy=legacy)
ncorr = g_header.ncorr
......
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