Auerbach-Lab/Behavior-autoanalysis

Count table wrong for Gap Detection

Closed this issue · 1 comments

Reproduce:
Have multiple details across the days. The run count is always the same for all details.

Solution:
Line 306: group_by(task) %>% should be group_by(task, detail) %>%

Note this also fixes the:
Warning: Returning more (or less) than 1 row per summarise() group was deprecated in dplyr 1.1.0.
i Please use reframe() instead.
i When switching from summarise() to reframe(), remember that reframe() always returns an ungrouped data frame and adjust accordingly.

But did not fix it for Green 23 on 8/8/23