Skip to content

Commit

Permalink
read also upper case achilles tables (#407)
Browse files Browse the repository at this point in the history
* read also upper case achilles tables

* typo
  • Loading branch information
catalamarti authored Feb 29, 2024
1 parent caacf28 commit 1ef6365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/cdm.R
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ cdm_from_con <- function(con,
if (!is.null(achilles_schema)) {
achillesReqTables <- omopgenerics::achillesTables()
acTables <- listTables(con, schema = achilles_schema)
achilles_tables <- achillesReqTables[which(achillesReqTables %in% tolower(acTables))]
achilles_tables <- acTables[which(tolower(acTables) %in% achillesReqTables)]
if (length(achilles_tables) != 3) {
cli::cli_abort("Achilles tables not found in {achilles_schema}!")
}
Expand Down

0 comments on commit 1ef6365

Please sign in to comment.