I am trying to create a high-resolution image to use with mne in mne_analyze. I first ran mkheadsurf -subjid s and this did not result in any errors.

I then ran mne_surf2bem --surf ../surf/lh.seghead --id 4 --check --fif s-head.fif
and ran into an error about vertices for a few of my subjects. 

input  file #   1 : ../surf/lh.seghead / id = 4 / sigma N/A

output file       : EVO07-head.fif


New quad file : nvert = 288077 nquad = 294014

Triangle and vertex normals and neighboring triangles...[done]

Vertex neighbors...Too many neighbors for vertex 92055.


I tried editing the seghead.mgz file in freeview, and filled in the voxels that were missing at the neck. I then reran the mkheadusrf command (mkheadusrf -subjid s --noseghead), still with no errors, but got the same error as before again when I ran the mne_surf2bem command.

Suggestions? Many thanks!

Anna