<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi,</p>
    <p>please replace the attached file in your simnibs 4 installation,
      and let me know whether it resolved the issue. Inside the simnibs
      4 folder, it is found in simnibs/external.</p>
    <p>Best regards,</p>
    <p>Axel</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 09-08-2022 10:03, Maximilian Lückel
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:1308732187.3359956.1660032223251@mail.yahoo.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div class="ydp9b2d65fayahoo-style-wrap"
        style="font-family:Helvetica Neue, Helvetica, Arial,
        sans-serif;font-size:13px;">
        <div dir="ltr" data-setdir="false"><span>
            <pre>Hi,

when running dwi2cond using SimNIBS4, I get the following error message:

echo ERROR: Input file <path-to-m2m_folder>/m2m_sub-017/labeling.nii.gz' doesn't exist. Did you run charm?

Indeed, labeling.nii.gz does not exist after running charm, for all of my subjects. Did something go wrong with charm or is this a problem of dwi2cond?
It seems to work, however, if I copy/rename the final_tissues.nii.gz file generated by charm to labeling.nii.gz.


Best,
Max
</pre>
          </span>
          <div><br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Simnibs-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Simnibs-discuss@drcmr.dk">Simnibs-discuss@drcmr.dk</a>
<a class="moz-txt-link-freetext" href="https://mailman.drcmr.dk/mailman/listinfo/simnibs-discuss">https://mailman.drcmr.dk/mailman/listinfo/simnibs-discuss</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Dr. Axel Thielscher
Professor of Neurophysics and Neuroimaging
Danish Research Center for Magnetic Resonance
Copenhagen University Hospital Hvidovre
DK-2650 Hvidovre, Denmark
<a class="moz-txt-link-abbreviated" href="http://www.drcmr.dk">www.drcmr.dk</a>
&
Department of Health Technology
Technical University of Denmark
DK-2800 Kgs. Lyngby
<a class="moz-txt-link-freetext" href="http://www.healthtech.dtu.dk/">http://www.healthtech.dtu.dk/</a></pre>
  </body>
</html>