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

Fix session bug #261

Merged
merged 2 commits into from
Sep 20, 2023
Merged

Fix session bug #261

merged 2 commits into from
Sep 20, 2023

Conversation

akhanf
Copy link
Member

@akhanf akhanf commented Sep 20, 2023

This fixes an issue when bids datasets have multiple sessions and not all subjects have the same session.
Using zip_lists solves that, but it turns out zip lists were not actually being used in the target rule, since the last refactoring of the target rules #63
This ensures zip_lists are used and filters with this expands twice in the get_final_output() function to ensure zip lists
are used, filtering the session with the filter_list() function.

Note: should revamp sometime soon to use new snakebids API..

Wasn't actuully using zip lists in the target rule (likely since
filtering by session was added) - this expands twice to ensure zip lists
are used, filtering the session with the filter_list() function.

Note: should revamp sometime soon to use new snakebids API
@akhanf akhanf added the bug Something isn't working label Sep 20, 2023
@akhanf akhanf merged commit 6d1c8e0 into master Sep 20, 2023
2 checks passed
@akhanf akhanf deleted the fix-session-bug branch September 20, 2023 18:52
@akhanf akhanf restored the fix-session-bug branch September 21, 2023 16:59
@jordandekraker jordandekraker deleted the fix-session-bug branch September 26, 2023 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant