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

[bugfix] clean string of vtu references at read_in

parent b5fd122b
No related branches found
No related tags found
1 merge request!54[bugfix] make all OGS6 benchmarks work.
...@@ -59,8 +59,9 @@ read_in_prj <- function(ogs6_obj, ...@@ -59,8 +59,9 @@ read_in_prj <- function(ogs6_obj,
for(i in seq_along(vtu_ref_nodes)){ for(i in seq_along(vtu_ref_nodes)){
vtu_ref <- xml2::xml_text(vtu_ref_nodes[[i]]) vtu_ref <- xml2::xml_text(vtu_ref_nodes[[i]])
vtu_ref <- stringr::str_trim(vtu_ref)
vtu_ref <- stringr::str_remove_all(vtu_ref, "[\n]")
vtu_path <- make_abs_path(vtu_ref, prj_base_path) vtu_path <- make_abs_path(vtu_ref, prj_base_path)
# vtu_path <- paste0(dirname(prj_path), "/", vtu_ref)
axisym_val <- xml2::xml_attr(vtu_ref_nodes[[i]], "axially_symmetric") axisym_val <- xml2::xml_attr(vtu_ref_nodes[[i]], "axially_symmetric")
......
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