Skip to content

Commit

Permalink
Create results data model tests and renv.lock update (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonysena authored Sep 1, 2023
1 parent 1e2344c commit 9870fb8
Show file tree
Hide file tree
Showing 6 changed files with 1,546 additions and 1,506 deletions.
5 changes: 1 addition & 4 deletions Main.R
Original file line number Diff line number Diff line change
Expand Up @@ -204,11 +204,8 @@ createDataModelSchema <- function(jobContext) {
tablePrefix <- moduleInfo$TablePrefix
schema <- jobContext$moduleExecutionSettings$resultsDatabaseSchema

conn <- DatabaseConnector::connect(connectionDetails)
on.exit(DatabaseConnector::disconnect(conn))

PatientLevelPrediction::createPlpResultTables(
conn = conn,
connectionDetails = connectionDetails,
targetDialect = connectionDetails$dbms,
resultSchema = schema,
deleteTables = F,
Expand Down
2 changes: 1 addition & 1 deletion MetaData.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"Name": "PatientLevelPredictionModule",
"Version": "0.2.0-1",
"Version": "0.2.0-3",
"Dependencies": ["CohortGeneratorModule"],
"TablePrefix": "plp_"
}
2 changes: 1 addition & 1 deletion SettingsFunctions.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
createPatientLevelPredictionModuleSpecifications <- function(modelDesignList) {
specifications <- list(
module = "PatientLevelPredictionModule",
version = "0.2.0-1",
version = "0.2.0-3",
remoteRepo = "github.com",
remoteUsername = "ohdsi",
settings = modelDesignList
Expand Down
Loading

0 comments on commit 9870fb8

Please sign in to comment.