Error importing anatomy files from Freesurfer to BSt for EEG analysis

Hi all,

I am attempting to import anatomy files into Brainstorm from Freesurfer and am receiving this error:

Error: Line 115: mne_read_surface (line 115)
** Bad magic number (5788537) in surface file C:\Users......\path\to\file......\sample\surf\lh.pial
** Call stack:
** >mne_read_surface.m at 115
** >in_tess.m at 169
** >import_surfaces.m at 146
** >bst_call.m at 28
** >tree_callbacks.m>@(h,ev)bst_call(@import_surfaces,iSubject) at 563

It seems there is something wrong with the pial.lh file, which is only 2KB in size. Could it have output from Freesurfer incorrectly?

Thank you for the help!


This problem is addressed here: