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

proc_surf does not fully run with externally processed fast/freesurfer #117

Open
araikes opened this issue Apr 12, 2024 · 0 comments
Open

Comments

@araikes
Copy link

araikes commented Apr 12, 2024

Hello,

When running micapipe v. 0.2.3 and using pre-run fast or freesurfer and then running -proc_surf, I get the following error:

[ INFO ]..... Creating proc_surf json file 
Image Exception : #63 :: No image files match: /xdisk/adamraikes/bids/derivatives/micapipe_0.2.3/fastsurfer/sub-xxx_ses-yy/mri/orig.mgz
No image files match: /xdisk/adamraikes/bids/derivatives/micapipe_0.2.3/fastsurfer/sub-xxx_ses-yy/mri/orig.mgz
Image Exception : #63 :: No image files match: /xdisk/adamraikes/bids/derivatives/micapipe_0.2.3/fastsurfer/sub-xxx_ses-yy/mri/orig.mgz
No image files match: /xdisk/adamraikes/bids/derivatives/micapipe_0.2.3/fastsurfer/sub-xxx_ses-yy/mri/orig.mgz

It's due to the following line where you are overwriting t1_2proc with the orig.mgz file and then attempting to run fslhd and mrinfo on that file instead of a NIFTI. This is different from the behavior when running fast or freesurfer within the container.

t1_2proc="${dir_subjsurf}/mri/orig.mgz"

Recommend clarifying that when using preprocessed outputs, users must specify the T1w file that was used and then removing this line.

For clarity, I ran fastsurfer externally using the T1nativepro file but fastsurfer v. 2.2.0 with the output directory as ${out}/fastsurfer, so all of the outputs are there and where they are expected to be.

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

1 participant