Skip to content

Commit 36041e4

Browse files
author
Cesar Barboza
committed
reset fix
1 parent 7d3b70e commit 36041e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

R/cdmConstructor.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ cdmConstructor <- R6::R6Class("cdmConstructor",
3939
},
4040
# Add data from json test set
4141
loadJsonTestSet = function(path) {
42+
self$reset()
4243
checkmate::assertFileExists(path)
4344
jsonData <- jsonlite::fromJSON(path)
4445
currentTables <- names(jsonData)
@@ -57,7 +58,6 @@ cdmConstructor <- R6::R6Class("cdmConstructor",
5758
},
5859
# Reset
5960
reset = function() {
60-
self$person$reset()
6161
self$person$reset()
6262
self$observation_period$reset()
6363
self$drug_exposure$reset()

0 commit comments

Comments
 (0)