<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:3.0cm 2.0cm 3.0cm 2.0cm;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=DA link=blue vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span lang=FI>Hi Tayeb,<o:p></o:p></span></p><p class=MsoNormal><span lang=FI><o:p> </o:p></span></p><p class=MsoNormal><span lang=FI>Which version of FreeSurfer are you using? Due to a change in surface data formats, mri2mesh does not support FS versions >= 7.0<o:p></o:p></span></p><p class=MsoNormal><span lang=FI><o:p> </o:p></span></p><p class=MsoNormal><span lang=FI>Best,<o:p></o:p></span></p><p class=MsoNormal><span lang=FI>Oula</span></p><p class=MsoNormal><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='border:none;padding:0cm'><b>Lähettäjä: </b><a href="mailto:tayebzaidi@gmail.com">Tayeb Zaidi</a><br><b>Lähetetty: </b>29. april 2021 09:10<br><b>Vastaanottaja: </b><a href="mailto:discuss@simnibs.org">discuss@simnibs.org</a><br><b>Aihe: </b>[Simnibs-discuss] Meshfix error in SimNIBS-3.2.3</p></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>Hello,</p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal> I've been working to use SimNIBS-3.2 to generate head segmentation for several subjects from the Human Connectome Project. When running "mri2mesh --all subjectnumber T1w.nii T2w.nii" I successfully finish recon-all from Freesurfer and then the mri2mesh script raises an error when creating the subcortical mask. The exact error is:</p></div><div><p class=MsoNormal>"</p></div><div><p class=MsoNormal>mris_convert ./opticrad_FS.fsmesh ./opticrad_FS.stl<br><br>/home/awarru/SimNIBS-3.2/simnibs_env/lib/python3.7/site-packages/simnibs/bin/linux/meshfix subcortical_FS.stl -a 2.0 --remove-handles -q -o subcortical.off<br><br>ERROR- fseek /home/guilherme/simnibs_misc/meshfix/contrib/JMeshLib/src/MESH_STRUCTURE/io.cpp:1335 failed.error code 255</p></div><div><p class=MsoNormal>"</p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>It seems like there is an error within meshfix. In a prior thread on this mailing list (<a href="https://mailman.drcmr.dk/pipermail/simnibs-discuss/2020-May/000051.html">https://mailman.drcmr.dk/pipermail/simnibs-discuss/2020-May/000051.html</a>) this issue was raised and it wasn't clear if there was a resolution. I have looked at the subcortical_FS.stl file and it looks like how I would expect in a mesh viewer.</p></div><div><p class=MsoNormal>I am running these commands on a T5810 workstation with Ubuntu 20.04 installed. </p></div><div><p class=MsoNormal>Is there any solution to this issue?</p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thanks,</p></div></div><p class=MsoNormal>Tayeb Zaidi</p><p class=MsoNormal><o:p> </o:p></p></div></body></html>