Skip to content
Snippets Groups Projects

Fix typo that throws an error when running compareScenarios locally

Merged Jerome Hilaire requested to merge github/fork/johanneskoch94/develop into develop
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -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)
}
Loading