Skip to content

Commit

Permalink
comment out debugs and remove outdated test code
Browse files Browse the repository at this point in the history
  • Loading branch information
egillax committed Oct 7, 2024
1 parent 2c70a34 commit 653b524
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
2 changes: 1 addition & 1 deletion extras/R6ClassFun.R
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ Strategus::createResultDataModel(
)

# Upload results ---------------
debugonce(Strategus::uploadResults)
#debugonce(Strategus::uploadResults)
Strategus::uploadResults(
analysisSpecifications = analysisSpecifications,
resultsDataModelSettings = resultsDataModelSettings,
Expand Down
13 changes: 1 addition & 12 deletions tests/testthat/test-PatientLevelPredictionValidationModule.R
Original file line number Diff line number Diff line change
Expand Up @@ -48,21 +48,10 @@ test_that("Test PLP Validation Module", {
resultsFolder = resultsFolder
)

debugonce(PatientLevelPredictionValidationModule$debug('execute'))
# debugonce(PatientLevelPredictionValidationModule$debug('execute'))
Strategus::execute(
analysisSpecifications = analysisSpecifications,
executionSettings = executionSettings,
connectionDetails = connectionDetails
)

# TODO - Remove in favor of the code
# above once I have more clarity on the
# settings
debugonce(plpvSettingsCreator$execute)
plpvSettingsCreator$execute(
analysisSpecifications = analysisSpecifications,
executionSettings = executionSettings,
connectionDetails = connectionDetails
)

})

0 comments on commit 653b524

Please sign in to comment.