Skip to content

Commit

Permalink
Merge pull request #1380 from orichters/develop
Browse files Browse the repository at this point in the history
don't print subsequent runs while running ./start.R --gamscompile
  • Loading branch information
orichters authored Aug 22, 2023
2 parents 1e39009 + 34c98fb commit 6c7db81
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions start.R
Original file line number Diff line number Diff line change
Expand Up @@ -354,11 +354,13 @@ if (any(c("--reprepare", "--restart") %in% flags)) {
}
}
# print names of runs to be waited and subsequent runs if there are any
if (! start_now && ( ! "--gamscompile" %in% flags || "--interactive" %in% flags)) {
message(" Waiting for: ", paste(unique(cfg$files2export$start[path_gdx_list][! gdx_specified & ! gdx_na]), collapse = ", "))
}
if (length(rownames(cfg$RunsUsingTHISgdxAsInput)) > 0) {
message(" Subsequent runs: ", paste(rownames(cfg$RunsUsingTHISgdxAsInput), collapse = ", "))
if (! "--gamscompile" %in% flags || "--interactive" %in% flags) {
if (! start_now) {
message(" Waiting for: ", paste(unique(cfg$files2export$start[path_gdx_list][! gdx_specified & ! gdx_na]), collapse = ", "))
}
if (length(rownames(cfg$RunsUsingTHISgdxAsInput)) > 0) {
message(" Subsequent runs: ", paste(rownames(cfg$RunsUsingTHISgdxAsInput), collapse = ", "))
}
}
}
message("")
Expand Down

0 comments on commit 6c7db81

Please sign in to comment.