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

[base] Took out exit code cat

parent 9f4f87d9
No related branches found
No related tags found
1 merge request!6Merge branch 7 fixed functionality into master
......@@ -36,6 +36,11 @@ run_simulation <- function(ogs6_obj, write_logfile = TRUE) {
export_gml(ogs6_obj)
export_prj(ogs6_obj)
# Copy all referenced .vtu files to ogs6_obj$sim_path
for(i in seq_len(length(ogs6_obj$meshes))){
file.copy(ogs6_obj$meshes[[i]]$mesh_path, ogs6_obj$sim_path)
}
# Construct the call
ogs6_command_str <- paste0(ogs6_obj$ogs_bin_path, "ogs.exe")
sim_path_full <- paste0(ogs6_obj$sim_path,
......@@ -71,8 +76,6 @@ run_simulation <- function(ogs6_obj, write_logfile = TRUE) {
closeAllConnections()
cat("\nCaught exit code", exit_code, "\n")
return(invisible(exit_code))
}
......
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