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

[bugfix] set gml flag when running benchmarks

parent 2eb728bb
No related branches found
No related tags found
2 merge requests!27Draft: Resolve "ext_calbayesopt_toR6",!24Resolve "bugfixes"
......@@ -285,8 +285,14 @@ run_benchmark <- function(prj_path,
ogs6_obj <- OGS6$new(sim_name = sim_name,
sim_path = sim_path)
# check if *.gml file is present
read_gml <- ifelse(
any(sapply(list.files(), function(x) grepl(".gml", x))),
T, F)
read_in_prj(ogs6_obj = ogs6_obj,
prj_path = prj_path)
prj_path = prj_path,
read_in_gml = read_gml)
return(invisible(ogs6_run_simulation(ogs6_obj,
ogs6_bin_path = ogs6_bin_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