Skip to content

Commit 2aaa96d

Browse files
committed
move test back in
1 parent 166df2c commit 2aaa96d

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

R/executeDiagnostics.R

+1-4
Original file line numberDiff line numberDiff line change
@@ -898,8 +898,7 @@ executeDiagnostics <- function(cohortDefinitionSet,
898898
)
899899
}
900900

901-
902-
executeCohortCharacterization(
901+
runCohortCharacterization(
903902
connection = connection,
904903
databaseId = databaseId,
905904
exportFolder = exportFolder,
@@ -915,8 +914,6 @@ executeDiagnostics <- function(cohortDefinitionSet,
915914
instantiatedCohorts = instantiatedCohorts,
916915
incremental = incremental,
917916
recordKeepingFile = recordKeepingFile,
918-
task = "runTemporalCohortCharacterization",
919-
jobName = "Temporal Cohort characterization",
920917
covariateValueFileName = file.path(exportFolder, "temporal_covariate_value.csv"),
921918
covariateValueContFileName = file.path(exportFolder, "temporal_covariate_value_dist.csv"),
922919
covariateRefFileName = file.path(exportFolder, "temporal_covariate_ref.csv"),

tests/testthat/hold/test-executeDiagnostics.R tests/testthat/test-executeDiagnostics.R

+2-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ for (nm in names(testServers)) {
1010

1111
incrementalFolder <- tempfile()
1212
dir.create(incrementalFolder)
13-
debugonce(executeDiagnostics)
13+
1414
firstTime <- system.time(
15-
1615
executeDiagnostics(
1716
cohortDefinitionSet = server$cohortDefinitionSet,
1817
connectionDetails = server$connectionDetails,
@@ -36,7 +35,7 @@ for (nm in names(testServers)) {
3635
incremental = TRUE,
3736
incrementalFolder = incrementalFolder,
3837
temporalCovariateSettings = server$temporalCovariateSettings,
39-
runOnSample = FALSE
38+
runFeatureExtractionOnSample = FALSE
4039
)
4140
)
4241

0 commit comments

Comments
 (0)