Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…tion into develop
  • Loading branch information
egillax committed May 15, 2024
2 parents c0db10a + 7ed447f commit 9e89253
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions R/ExternalValidatePlp.R
Original file line number Diff line number Diff line change
Expand Up @@ -435,17 +435,18 @@ validateExternal <- function(validationDesignList,
for (name in databaseNames) {
analysisInfo[name] <- 1
}

# initiate log
logSettings$saveDirectory <- outputFolder
logSettings$logFileName <- 'validationLog'
logger <- do.call(createLog, logSettings)
ParallelLogger::registerLogger(logger)
on.exit(closeLog(logger))

results <- NULL
for (design in validationDesignList) {
for (database in databaseDetails) {
databaseName <- database$cdmDatabaseName
# initiate log
logSettings$saveDirectory <- file.path(outputFolder,
database$cdmDatabaseName)
logSettings$logFileName <- 'validationLog'
logger <- do.call(createLog, logSettings)
ParallelLogger::registerLogger(logger)
on.exit(closeLog(logger))

ParallelLogger::logInfo(paste('Validating model on', database$cdmDatabaseName))

Expand Down

0 comments on commit 9e89253

Please sign in to comment.