Skip to content

Commit

Permalink
resolve merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentvanhees committed Jan 29, 2025
2 parents 66b45c8 + 841cd18 commit 671980e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# CHANGES IN GGIR VERSION 3.2-0

- Visual report: Bug fixed in handling recordings that start at midnight #1257
- New visual report: Bug fixed in handling recordings that start at midnight #1257

- Part 6 and new visual report: Fix bug related to determining the combination of thresholds to use for the
visual report and for part 6 analyses when there are several options and
part6_threshold_combi is NULL. #1260

# CHANGES IN GGIR VERSION 3.1-11

- Part 2:
Expand Down
6 changes: 3 additions & 3 deletions R/check_params.R
Original file line number Diff line number Diff line change
Expand Up @@ -364,9 +364,9 @@ check_params = function(params_sleep = c(), params_metrics = c(),
if ((length(params_phyact[["threshold.lig"]]) == 1 &&
length(params_phyact[["threshold.mod"]]) == 1 &&
length(params_phyact[["threshold.vig"]]) == 1) | is.null(params_phyact[["part6_threshold_combi"]])) {
params_phyact[["part6_threshold_combi"]] = paste(params_phyact[["threshold.lig"]],
params_phyact[["threshold.mod"]],
params_phyact[["threshold.vig"]], sep = "_")
params_phyact[["part6_threshold_combi"]] = paste(params_phyact[["threshold.lig"]][1],
params_phyact[["threshold.mod"]][1],
params_phyact[["threshold.vig"]][1], sep = "_")
}
}
# params output
Expand Down

0 comments on commit 671980e

Please sign in to comment.