Skip to content

Commit

Permalink
exit on null for target output
Browse files Browse the repository at this point in the history
  • Loading branch information
DE0CH committed Dec 19, 2022
1 parent fc01dbe commit bd81fdd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/race-wrapper.R
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,7 @@ execute.experiments <- function(experiments, scenario)
scenario$targetRunnerParallel(experiments, exec.target.runner,
scenario = scenario,
target.runner = target.runner)
if (is.null(target.output)) {stop()}
} else if (scenario$batchmode != 0) {
target.output <- cluster.lapply (experiments, scenario = scenario)
} else if (parallel > 1) {
Expand Down

0 comments on commit bd81fdd

Please sign in to comment.