Commit 95123bce authored by ale's avatar ale

read_ms change error into warning, carefull!

parent b44f07aa
......@@ -528,7 +528,7 @@ function read_ms(path::String; id::Union{String, Nothing}=nothing, dtr::Int64=1
if mod(ntr, dtr) != 0
println("ntr = ", ntr)
println("dtr = ", dtr)
error("ntr / dtr must be exact")
@warn("ntr / dtr must be exact, truncating...")
end
vntr = Vector{Int32}(undef, div(ntr, dtr))
......
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