Skip to content

Commit

Permalink
minor edit to account for scenario where user changes GGIR call param…
Browse files Browse the repository at this point in the history
…eter strategy to data_masking_strategy
  • Loading branch information
vincentvanhees committed Nov 6, 2024
1 parent 1e11ce4 commit 4432223
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions R/extract_params.R
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,9 @@ extract_params = function(params_sleep = c(), params_metrics = c(),
} else if (aN %in% expected_phyact_params == TRUE) { # phyact
params_phyact = update_params(x = params_phyact, aN, input)
} else if (aN %in% expected_cleaning_params == TRUE) { # cleaning
if (aN == "data_masking_strategy") { # account for this parameter name change
params_cleaning[["strategy"]] = input[[aN]]
}
params_cleaning = update_params(x = params_cleaning, aN, input)
} else if (aN %in% expected_output_params == TRUE) { # output
params_output = update_params(x = params_output, aN, input)
Expand Down

0 comments on commit 4432223

Please sign in to comment.