Skip to content

Commit

Permalink
use restrictPlpSettings and populationSettings if specified else get …
Browse files Browse the repository at this point in the history
…from model
  • Loading branch information
egillax committed Jul 31, 2024
1 parent b3b7ead commit 5b24a28
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Main.R
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ execute <- function(jobContext) {
targetId = df$target_id[1],
outcomeId = df$outcome_id[1],
plpModelList = as.list(df$modelPath)
restrictPlpDataSettings = ifelse(!is.null(jobContext$settings[[1]]$restrictPlpDataSettings), jobContext$settings[[1]]$restrictPlpDataSettings, NULL),
populationSettings = ifelse(!is.null(jobContext$settings[[1]]$populationSettings), jobContext$settings[[1]]$populationSettings, NULL)
)
designs[[i]] <- design
}
Expand Down

0 comments on commit 5b24a28

Please sign in to comment.