From a0264ff5962dac3879c4fb3df246d561226aa24e Mon Sep 17 00:00:00 2001 From: Anthony Sena Date: Mon, 7 Oct 2024 16:39:11 -0400 Subject: [PATCH] Fix GHA test failure --- R/Module-CohortIncidence.R | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/R/Module-CohortIncidence.R b/R/Module-CohortIncidence.R index 88ae3bab..d76d10f8 100644 --- a/R/Module-CohortIncidence.R +++ b/R/Module-CohortIncidence.R @@ -141,12 +141,7 @@ CohortIncidenceModule <- R6::R6Class( super$uploadResults(resultsConnectionDetails, analysisSpecifications, resultsDataModelSettings) resultsFolder <- private$jobContext$moduleExecutionSettings$resultsSubFolder exportFolder <- private$jobContext$moduleExecutionSettings$resultsSubFolder - - # use the results model spec that was saved along with the results output, not the embedded model spec. - resultsModelSpec <- readr::read_csv( - file = file.path(file.path(exportFolder, "resultsDataModelSpecification.csv")), - show_col_types = FALSE - ) + resultsModelSpec <- self$getResultsDataModelSpecification() ResultModelManager::uploadResults( connectionDetails = resultsConnectionDetails,