Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RayStick committed Feb 28, 2024
1 parent f2bb561 commit fc2ddc1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions R/domain_mapping.R
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,6 @@ domain_mapping <- function(json_file = NULL, domain_file = NULL) {
# collect user responses
decision_output <- user_categorisation(selectDataClass_df$Label[datavar_auto],selectDataClass_df$Description[datavar_auto],selectDataClass_df$Type[datavar_auto])
# input user responses into output
Output$DataElement[datavar_auto] <- selectDataClass_df$Label[datavar_auto]
Output$Domain_code[datavar_auto] <- decision_output$decision
Output$Note[datavar_auto] <- decision_output$decision_note
}
Expand Down Expand Up @@ -271,7 +270,6 @@ domain_mapping <- function(json_file = NULL, domain_file = NULL) {
# collect user responses
decision_output <- user_categorisation(selectDataClass_df$Label[datavar_not_auto],selectDataClass_df$Description[datavar_not_auto],selectDataClass_df$Type[datavar_not_auto])
# input user responses into output
Output$DataElement[datavar_not_auto] <- selectDataClass_df$Label[datavar_not_auto]
Output$Domain_code[datavar_not_auto] <- decision_output$decision
Output$Note[datavar_not_auto] <- decision_output$decision_note
}
Expand Down

0 comments on commit fc2ddc1

Please sign in to comment.