Skip to content
Snippets Groups Projects
Commit 79148bb2 authored by Johannes Koch's avatar Johannes Koch
Browse files

Fix typo that throws an error when running compareScenarios locally

parent 43f2f618
No related branches found
No related tags found
2 merge requests!16Welfare module,!15Fix typo that throws an error when running compareScenarios locally
......@@ -57,7 +57,7 @@ start_comp <- function(outputdirs,shortTerm,outfilename) {
outfilename <- jobname
tmp.env <- new.env()
script <- "scripts/run_submit/run_compareScenarios.R"
tmp.erorr <- try(sys.source(script,envir=tmp.env))
tmp.error <- try(sys.source(script,envir=tmp.env))
if(!is.null(tmp.error)) warning("Script ",script," was stopped by an error and not executed properly!")
rm(tmp.env)
}
......
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