From 34c98fb145cf8003fa2c218c9afd583d560bba3f Mon Sep 17 00:00:00 2001 From: orichters Date: Wed, 16 Aug 2023 16:25:10 +0200 Subject: [PATCH] don't print subsequent runs while running ./start.R --gamscompile --- start.R | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/start.R b/start.R index f2c250aff..70812892b 100755 --- a/start.R +++ b/start.R @@ -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("")