[Simnibs-discuss] Probably something went wrong with the Matlab call or SPM

Oula Puonti oupu at dtu.dk
Tue Oct 20 16:08:57 CEST 2020


Hi,


Seems you're using simnibs version 3.2. In this case --cat should be the default option.


Can you try running without that flag?


If it still fails in the same place, please try installing the newest version of SimNIBS.


Best,

Oula

________________________________
From: Simnibs-discuss <simnibs-discuss-bounces at drcmr.dk> on behalf of sepideh khaksar <sepidehkhaksar123 at gmail.com>
Sent: Monday, October 12, 2020 7:16:08 PM
To: discuss at simnibs.org
Subject: [Simnibs-discuss] Probably something went wrong with the Matlab call or SPM

hi
Although MATLAB is installed, I get the following error when I use Headerco on Linux
headreco all --cat ernie org/ernie_T1.nii.gz org/ernie_T2.nii.gz

========================================================================
PREPARING VOLUMES FOR MESHING
========================================================================

Copying input files to m2m_ernie

Copying T1fs.nii.gz to T1fs_conform.nii.gz
Preparing to segment

Starting MATLAB
========================================================================
Binarizing tissue probability maps
Traceback (most recent call last):
  File "/home/sepideh/SimNIBS-3.2/simnibs_env/lib/python3.7/site-packages/simnibs/cli/headreco.py", line 13, in <module>
    main()
  File "/home/sepideh/SimNIBS-3.2/simnibs_env/lib/python3.7/site-packages/simnibs/cli/headreco.py", line 10, in main
    headmodel(sys.argv)
  File "/home/sepideh/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

What is the problem? Thank you for your help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.drcmr.dk/pipermail/simnibs-discuss/attachments/20201020/e92d0269/attachment.html>


More information about the Simnibs-discuss mailing list