Skip to content
Snippets Groups Projects
Commit 92645ed9 authored by Johannes Boog's avatar Johannes Boog
Browse files

[bugfix] throw warning instead of stop when pattern not found in xml file

parent bf50e03e
No related branches found
No related tags found
1 merge request!55[base] update package to OGS6.4.2
......@@ -47,7 +47,9 @@ analyse_xml <- function(path,
child_flags <- list()
if(length(xml_files) == 0) {
stop(paste("No files found for pattern ", pattern), call. = FALSE)
#stop(paste("No files found for pattern ", pattern), call. = FALSE)
warning("No files found for pattern ", pattern)
return(invisible(NULL))
}
for(i in seq_len(length(xml_files))){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment