Skip to content

Commit

Permalink
fixed first failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
egillax committed Feb 29, 2024
1 parent 331b1fa commit 9e1452f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions R/DataSplitting.R
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ splitData <- function(plpData = plpData,
outcomeId = attr(population, "metaData")$outcomeId,
targetId = attr(population, "metaData")$targetId,
cdmDatabaseSchema = plpData$metaData$databaseDetails$cdmDatabaseSchema,
cdmDatabaseName = plpData$metaData$databaseDetails$cdmDatabaseName,
cdmDatabaseId = plpData$metaData$databaseDetails$cdmDatabaseId,
restrictPlpDataSettings = attr(population, "metaData")$restrictPlpDataSettings,
covariateSettings = plpData$metaData$covariateSettings,
Expand Down Expand Up @@ -186,6 +187,7 @@ splitData <- function(plpData = plpData,
outcomeId = attr(population, "metaData")$outcomeId,
targetId = attr(population, "metaData")$targetId,
cdmDatabaseSchema = plpData$metaData$databaseDetails$cdmDatabaseSchema,
cdmDatabaseName = plpData$metaData$databaseDetails$cdmDatabaseName,
cdmDatabaseId = plpData$metaData$databaseDetails$cdmDatabaseId,
restrictPlpDataSettings = attr(population, "metaData")$restrictPlpDataSettings,
covariateSettings = plpData$metaData$covariateSettings,
Expand Down
3 changes: 2 additions & 1 deletion R/Simulation.R
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ simulatePlpData <- function(plpDataSimulationProfile, n = 10000) {
metaData = list()

metaData$databaseDetails <- list(
cdmDatabaseSchema = 'Profile',
cdmDatabaseSchema = 'CDM_SCHEMA',
cdmDatabaseName = "CDM_NAME",
outcomeDatabaseSchema = NULL,
cohortDatabaseSchema = NULL,
connectionDetails = NULL,
Expand Down

0 comments on commit 9e1452f

Please sign in to comment.