[Simnibs-discuss] questions about the seg_type

Axel Thielscher axelt at drcmr.dk
Tue Dec 20 11:10:43 CET 2022

Dear Yihong,

this error only exists in older simnibs versions prior to version 4. 
Please make sure you have the latest version installed, and that the 
paths are set to the latest version. You can test by opening a cmd or 
shell window and typing


If that isn't found, please check your path settings. When you have head 
models created with simnibs 3 which you want to go on using, please use 
the command convert_3_to_4 before using these headmodels in simnibs 4.

Best regards,


On 12-12-2022 14:47, Sheng Yihong wrote:
> Dear SimNIBS
> When I try to follow the tutorial to get a Leadfield on SimNIBS 4.0 
> TDCS optimization, I got a OSError.
> *OSError*: Could not find surface files in m2m folder. SPM-only 
> segmentation?
> After I check the transformation.py I find the problem caused by 
> segmentation type. But in the changelog4.0 Headreco and mri2mesh are 
> deprecated. So I have no idea to solve the OSError.
> Could you help me to figure my problem out?
> Best wishes
> Yihong
> _______________________________________________
> Simnibs-discuss mailing list
> Simnibs-discuss at drcmr.dk
> https://mailman.drcmr.dk/mailman/listinfo/simnibs-discuss

Dr. Axel Thielscher
Professor of Neurophysics and Neuroimaging
Danish Research Center for Magnetic Resonance
Copenhagen University Hospital Hvidovre
DK-2650 Hvidovre, Denmark
Department of Health Technology
Technical University of Denmark
DK-2800 Kgs. Lyngby
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.drcmr.dk/pipermail/simnibs-discuss/attachments/20221220/347e1cd0/attachment-0001.html>

More information about the Simnibs-discuss mailing list