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

Creating VoxelGraph #10

Open
dubergonzoni opened this issue Jul 5, 2021 · 1 comment
Open

Creating VoxelGraph #10

dubergonzoni opened this issue Jul 5, 2021 · 1 comment

Comments

@dubergonzoni
Copy link

Please,

I'm trying to create a VoxelGraph graph, but I got an error creating the MITTEN object:

mitns = MITTENS(reconstruction="sub-01_dwi_merged.src.gz.odf.gqi.1.25.fib.gz")
Unable to load real affine image

My fib.gz file is an ouput of the preprocessing with QSIPREP: https://qsiprep.readthedocs.io/en/latest/index.html
Anny suggestion how to fix this problem? Am I using the wrong gqi file?

Thank you.

@mattcieslak
Copy link
Owner

Hi! No, you're using the correct file. The fib format doesn't have affines in it, so you have to provide an external nifti file. In the case of QSIPrep you can use path to the dwiref.nii.gz file as the argument for real_affine_image.

Also, you should make sure you're using the desc-preproc_*fib.gz images if you're using outputs from QSIPrep. The file name in your example looks like a temp file that gets created during the preprocessing workflow, not the final output.

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

No branches or pull requests

2 participants