Hi @juliadecker,
This Error in mne_read_surface.m seems to be originated by file lh.pial.T1
itself, it could be a symbolic link that is mishandled, or a file that was not correctly copied. See this post for further details:
If you still have issues at importing the anatomy folder; could you share the a sample file that causes the issue, to understand what is going on? Upload the file somewhere and post the download links here.
The magic number are (24) bits at the beginning of the file that identify the format of the data in the surface file.
Best,
Raymundo