From 77ec0b0967a35528c21414091f4238b3621333f3 Mon Sep 17 00:00:00 2001 From: aheinri5 <Anna@netzkritzler.de> Date: Fri, 11 Dec 2020 12:08:47 +0100 Subject: [PATCH] [base] Now works again --- R/read_in_vtu.R | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/R/read_in_vtu.R b/R/read_in_vtu.R index c34d3ba..a21b03d 100644 --- a/R/read_in_vtu.R +++ b/R/read_in_vtu.R @@ -1,5 +1,6 @@ -#Functions to read in data from a .vtu file to an OGS6 object -#WIP, so far only creates the reference for the project file, might add analysis functions later! +# Functions to read in data from a .vtu file to an OGS6 object +# WIP, so far only creates the reference for the project file, might add +# analysis functions later! #'pick_vtu_file @@ -13,7 +14,7 @@ pick_vtu_file <- function(ogs6_obj) { file <- file.choose() check_file_extension(file, "vtu") - ogs6_obj$add_mesh(basename(file)) + ogs6_obj$add_mesh(r2ogs6_mesh(basename(file))) file.copy(file, ogs6_obj$sim_path) } -- GitLab