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

[bugifx] omit readingn same PVD files multiple times

parent aa93d2c1
No related branches found
No related tags found
2 merge requests!27Draft: Resolve "ext_calbayesopt_toR6",!24Resolve "bugfixes"
......@@ -247,10 +247,7 @@ ogs6_read_output_files <- function(ogs6_obj){
"\\.pvd$",
full.names = TRUE)
for(i in seq_len(length(pvd_paths))){
ogs6_obj$pvds <- c(ogs6_obj$pvds,
list(OGS6_pvd$new(pvd_path = pvd_paths[[i]])))
}
ogs6_obj$pvds <- lapply(pvd_paths, function(x){OGS6_pvd$new(pvd_path = x)})
return(invisible())
}
......
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