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

[base] update generate_benchark_Scripts to include file reference in process tag

parent fec314f1
No related branches found
No related tags found
1 merge request!31[docs] examples polished
...@@ -234,10 +234,20 @@ ogs6_generate_benchmark_script <- function(prj_path, ...@@ -234,10 +234,20 @@ ogs6_generate_benchmark_script <- function(prj_path,
} }
for(j in seq_along(ogs6_component)){ for(j in seq_along(ogs6_component)){
script_str <- # TODO(boog): this is just an quick and dirty solution for the
paste0(script_str, # include tag for now
paste0(construct_add_call(ogs6_component[[j]]), if(!is.null(names(ogs6_component[j])) &
"\n\n")) all(names(ogs6_component[j])=="include")){
script_str <-
paste0(script_str,
get_component_call, " <- \"", ogs6_component[[j]],
"\"\n\n")
}else{
script_str <-
paste0(script_str,
paste0(construct_add_call(ogs6_component[[j]]),
"\n\n"))
}
} }
} }
......
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