<HTML><HEAD><TITLE>headreco report</TITLE></HEAD><BODY><pre>2022-04-11 09:42:41 [DEBUG] /Users/lukashensel/Applications/SimNIBS-3.2/simnibs_env/lib/python3.7/site-packages/simnibs/cli/headreco.py all 0_2219 3D/2219S160810_174718_0006_t1_mprage_0.9mm.nii 3D/2219S160810_175251_0007_t2w_space_0.9mm.nii
2022-04-11 09:42:41 [INFO ] ========================================================================
2022-04-11 09:42:41 [INFO ] PREPARING VOLUMES FOR MESHING
2022-04-11 09:42:41 [INFO ] ========================================================================
2022-04-11 09:42:41 [INFO ] Copying input files to m2m_0_2219
2022-04-11 09:42:42 [INFO ] Copying T1fs.nii.gz to T1fs_conform.nii.gz
2022-04-11 09:42:43 [INFO ] Preparing to segment
2022-04-11 09:42:43 [INFO ] Starting MATLAB
2022-04-11 09:42:43 [INFO ] ========================================================================
2022-04-11 09:42:43 [DEBUG] Running matlab -nosplash -nodesktop -r "addpath('/Users/lukashensel/Applications/SimNIBS-3.2/simnibs_env/lib/python3.7/site-packages/simnibs/msh','/Users/lukashensel/Applications/SimNIBS-3.2/simnibs_env/lib/python3.7/site-packages/simnibs/resources/spm12');try,segment_SPM('/Users/lukashensel/Applications/SimNIBS-3.2/simnibs_env/lib/python3.7/site-packages/simnibs/resources/templates','/Users/lukashensel/Dropbox/LukasPrivat/projekte/OFMOT/Data/0_2219/m2m_0_2219/segment/spm/T1fs_conform.nii','/Users/lukashensel/Dropbox/LukasPrivat/projekte/OFMOT/Data/0_2219/m2m_0_2219/segment/spm/T2.nii',0.01,3,0); segment_CAT('/Users/lukashensel/Dropbox/LukasPrivat/projekte/OFMOT/Data/0_2219/m2m_0_2219/segment/cat/T1fs_conform.nii','/Users/lukashensel/Applications/SimNIBS-3.2/simnibs_env/lib/python3.7/site-packages/simnibs/resources/templates',1);catch ME,rethrow(ME);end,exit;"
2022-04-11 09:42:43 [INFO ] Binarizing tissue probability maps
2022-04-11 09:42:43 [ERROR] Traceback (most recent call last):
  File "/Users/lukashensel/Applications/SimNIBS-3.2/simnibs_env/lib/python3.7/site-packages/simnibs/cli/headreco.py", line 13, in <module>
    main()
  File "/Users/lukashensel/Applications/SimNIBS-3.2/simnibs_env/lib/python3.7/site-packages/simnibs/cli/headreco.py", line 10, in main
    headmodel(sys.argv)
  File "/Users/lukashensel/Applications/SimNIBS-3.2/simnibs_env/lib/python3.7/site-packages/simnibs/msh/headreco.py", line 265, in headmodel
    raise OSError('Could not find tissue probability maps.\n'
OSError: Could not find tissue probability maps.
Probably something went wrong with the Matlab call or SPM