brainstorm-tools / brainstorm3

Brainstorm software: MEG, EEG, fNIRS, ECoG, sEEG and electrophysiology
http://neuroimage.usc.edu/brainstorm
GNU General Public License v3.0
377 stars 162 forks source link

Add support for importing FreeSurfer results from 'recon-all-clinical.sh' #714

Closed Edouard2laire closed 2 months ago

Edouard2laire commented 3 months ago

Add support to import the output folder from the FreeSurfer recon-all-clinical.sh pipeline

Requested here: https://neuroimage.usc.edu/forums/t/47017

rcassani commented 2 months ago

@Edouard2laire, I made some basic tests and everything looks fine. Please check on your side and let me know

Edouard2laire commented 2 months ago

Looks great! thanks.

For the tutorial, we might want to copy the warning from freesurfer:

[WARNING: the script in FreeSurfer 7.4 has a small bug when computing the surface label files at the end of the script. Please replace $FREESURFER_HOME/bin/recon-all-clinical.sh with the latest version HERE. Development versions newer than June 15th 2023 do not have this problem.]

Edit: Link to original warning in FreeSurfer: https://surfer.nmr.mgh.harvard.edu/fswiki/recon-all-clinical