Skip to content
Snippets Groups Projects
Commit 77ec0b09 authored by Ruben Heinrich's avatar Ruben Heinrich
Browse files

[base] Now works again

parent f56adb1c
No related branches found
No related tags found
1 merge request!6Merge branch 7 fixed functionality into master
#Functions to read in data from a .vtu file to an OGS6 object # 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! # WIP, so far only creates the reference for the project file, might add
# analysis functions later!
#'pick_vtu_file #'pick_vtu_file
...@@ -13,7 +14,7 @@ pick_vtu_file <- function(ogs6_obj) { ...@@ -13,7 +14,7 @@ pick_vtu_file <- function(ogs6_obj) {
file <- file.choose() file <- file.choose()
check_file_extension(file, "vtu") 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) file.copy(file, ogs6_obj$sim_path)
} }
......
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