From 52b5c6d739dbfa35d55139bb8e6dbb67f0397206 Mon Sep 17 00:00:00 2001 From: Alexander Barth Date: Mon, 22 Feb 2021 12:57:45 +0000 Subject: [PATCH] fix warn --- src/WorldOceanDatabase.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WorldOceanDatabase.jl b/src/WorldOceanDatabase.jl index 1d77173..70123e6 100644 --- a/src/WorldOceanDatabase.jl +++ b/src/WorldOceanDatabase.jl @@ -462,7 +462,7 @@ function load!(dirname,indexname,varname,profiles,lons,lats,zs,times,ids) wodname = joinpath(dirname,@sprintf("wod_%09dO.nc",cast[i])) if !isfile(wodname) - warn("File $(wodname) does not exist") + @warn "File $(wodname) does not exist" continue end