-
Notifications
You must be signed in to change notification settings - Fork 34
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
Possible empty bundle in Cam-CAN subject #397
Comments
This error is caused by cdist returning an empty list, which we then pass to np.min, which fails. |
The SLF is the only bundle with an exclusion ROI. This means that the other bundles would never have touched this code. |
I pushed a brute force fix to that PR (we will now ignore the defective streamline). Could you run the subject again and see what the SLF looks like? I think we should be able to find it, I hope this is just an issue with one streamline. |
Aright. I have a new fix: try/except statement. Can you run it again? Let's see if this triggers and what it prints. |
The underlying issue is: |
This should throw an error explaining this. |
Better warning done in #384 |
This was caused by how qsiprep was handling oblique scans. See: PennLINC/qsiprep#156 |
Using PR #384 (i.e. cloudknot with
image_github_installs=https://github.com/36000/pyAFQ.git@avoid_dipy_load_tractogram_bug#egg=pyAFQ[fury]
), I get the following error:So it would appear that the the SLF_L bundle has nothing in it. I'll investigate further to see if something is weird about this subject. But should pyAFQ pass/fail gracefully here by including an if statement to ignore such bundles?
The text was updated successfully, but these errors were encountered: