Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Less than 2 blocks of completed trials causes display issue on Oddball in sup-sum #82

Open
nohelix opened this issue Aug 26, 2023 · 0 comments

Comments

@nohelix
Copy link
Collaborator

nohelix commented Aug 26, 2023

Already hacky fixed #68.
May be related to issue #81 so creating new issue for proper fix.

Issue

For oddball files, if there is no trials at a specific position, columns are missing from the summary table resulting in script breaking error of "position must be 1 or 6 not X" where X is the number of positions for which there are trials.

Expected Behavior

When there are no trials as specific position, an RXN of NA should be reported.

Reproduce

You will need to roll back the changes ins #68 or comment out line 513.

dplyr::filter(! (stim_type == "train" & complete_block_count < 2)) %>%

Roll back the run_archive %>% filter(date == "20230718")
Files for BP1 on 20230717 & 20230718 should cause the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant