Skip to content

Commit

Permalink
Add cohort id to generation output - fixes #132
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonysena committed May 1, 2024
1 parent 0c0e487 commit 4d12c5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/CohortConstruction.R
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ generateCohort <- function(cohortId = NULL,
connection <- DatabaseConnector::connect(connectionDetails)
on.exit(DatabaseConnector::disconnect(connection))
}
ParallelLogger::logInfo(i, "/", nrow(cohortDefinitionSet), "- Generating cohort: ", cohortName)
ParallelLogger::logInfo(i, "/", nrow(cohortDefinitionSet), "- Generating cohort: ", cohortName, " (id = ", cohortId, ")")
sql <- cohortDefinitionSet$sql[i]

if (!isSubset) {
Expand Down

0 comments on commit 4d12c5d

Please sign in to comment.