Skip to content

Commit

Permalink
Merge pull request #1388 from orichters/cs2
Browse files Browse the repository at this point in the history
don't let cs2 fail if outputdirs are not unique
  • Loading branch information
orichters authored Sep 4, 2023
2 parents 77b1f5a + b23128a commit 658efef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/cs2/run_compareScenarios2.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ run_compareScenarios2 <- function(
# folder.
system(paste0("mkdir ", outFileName))
outDir <- normalizePath(outFileName, mustWork = TRUE)


outputDirs <- unique(normalizePath(outputDirs, mustWork = TRUE))
mifPath <- getMifScenPath(outputDirs, mustWork = TRUE)
histPath <- getMifHistPath(outputDirs[1], mustWork = TRUE)
scenConfigPath <- getCfgScenPath(outputDirs, mustWork = TRUE)
Expand Down

0 comments on commit 658efef

Please sign in to comment.