Commit 80fc861d authored by Thomas Shatwell's avatar Thomas Shatwell
Browse files

Now accepted profiles with warnings, only errors are excluded.

parent 7b8d90a5
......@@ -56,9 +56,11 @@ profile2grid <- function(data, datetime, depth, value,
out <- NULL
tryCatch({
out <- fn(p, ...)
}, warning=function(x) {
out <<- as.character(x)
}, error=function(x) {
},
# warning=function(x) {
# out <<- as.character(x)
# },
error=function(x) {
out <<- as.character(x)
})
return(out)
......
Supports Markdown
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