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] Fix bug in filtering by bval, where b0 calculation used mismatched dwi and gtab #1158

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

36000
Copy link
Collaborator

@36000 36000 commented Aug 29, 2024

Fixes the bug found in #1156 . Without the changes, the new test will throw the error:

IndexError: boolean index did not match indexed array along dimension 3; dimension is 160 but corresponding boolean dimension is 10

myafq = GroupAFQ(
bids_path=bids_path,
preproc_pipeline='vistasoft',
max_bval=1000)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would this actually test this functionality? This data doesn't have b-vals above 1000 does it? I'll merge for now but just wondering whether there's a better test.

@arokem arokem merged commit 734a387 into yeatmanlab:master Aug 29, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants