Skip to content

Commit

Permalink
Update validation.R - rm n_decimal parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
LucieContamin authored May 1, 2024
1 parent db23987 commit b8ce6bd
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions code/validation.R
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,8 @@ if (isFALSE(all(check))) {
# run validation
if (sub_file_date > "2024-01-01") {
merge_col <- TRUE
n_decimal <- 1
} else {
merge_col <- FALSE
n_decimal <- NULL
}
if (is.null(partition)) {
val_path <- basename(pr_sub_files_group)
Expand All @@ -106,8 +104,7 @@ if (isFALSE(all(check))) {
}
arg_list <- list(path = val_path, js_def = js_def_file, lst_gs = lst_gs,
pop_path = pop_path, merge_sample_col = merge_col,
partition = partition, round_id = round_id,
n_decimal = n_decimal)
partition = partition, round_id = round_id)
test <- capture.output(try(do.call(SMHvalidation::validate_submission,
arg_list)))
gc()
Expand Down

0 comments on commit b8ce6bd

Please sign in to comment.