Skip to content

Commit

Permalink
message for finding varspec entity id
Browse files Browse the repository at this point in the history
  • Loading branch information
d-callan committed Nov 8, 2023
1 parent 61c607c commit c86c680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/methods-Megastudy.R
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ setMethod('as.data.table', signature('StudySpecificVocabulariesByVariable'), fun
#should this be an s4 method?
findEntityIdColumnNameForVariableSpec <- function(varSpec, entityIdColumns) {
if (!inherits(varSpec, 'VariableSpec')) stop("The first argument must be of the S4 class `VariableSpec`.")

message("varSpec: ", veupathUtils::getColName(varSpec))
return(entityIdColumns[grepl(varSpec@entityId, entityIdColumns)])
}

Expand Down

0 comments on commit c86c680

Please sign in to comment.