From c86c68075cf9b45c4214a5150790fd8a4063b71e Mon Sep 17 00:00:00 2001 From: Danielle Callan Date: Wed, 8 Nov 2023 10:44:53 -0500 Subject: [PATCH] message for finding varspec entity id --- R/methods-Megastudy.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/methods-Megastudy.R b/R/methods-Megastudy.R index 17f6603..cbe1bf3 100644 --- a/R/methods-Megastudy.R +++ b/R/methods-Megastudy.R @@ -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)]) }