<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Vitória,<div><br></div><div>There was a typo in ft_prepare_layout. However, it still didn't work after fixing it. Using a specified layout in cfg.layout actually works fine for me.</div><div><br></div><div>Best,</div><div><br></div><div>Jan-Mathijs</div><div><br></div><div>PS: it may be an idea to sign up for the discussion list<br><div><br><div>Begin forwarded message:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>From: </b></span><span style="font-family:'Helvetica'; font-size:medium;">Vitória Magalhães Piai <<a href="mailto:V.Piai@psych.ru.nl">V.Piai@psych.ru.nl</a>><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>Date: </b></span><span style="font-family:'Helvetica'; font-size:medium;">October 5, 2011 3:35:46 PM GMT+02:00<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>To: </b></span><span style="font-family:'Helvetica'; font-size:medium;">jan-mathijs schoffelen <<a href="mailto:jan.schoffelen@donders.ru.nl">jan.schoffelen@donders.ru.nl</a>><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>Subject: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><b>Re: Fwd: ft_databrowser</b><br></span></div><br>
  
    <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hi Jan-Mathijs, <br>
    <br>
    I'm running my analyses on a mentat node, from
    /home/common/matlab/fieldtrip/ so probably the freshest version.<br>
    <br>
    I call ft_databrowser for an object obtained with
    ft_componentanalysis<br>
    My cfg has <br>
    viewmode 'component';<br>
    continuous 'no';<br>
    <br>
    The error<br>
    Attempt to reference field of non-struct array<br>
    <br>
    in ft_prepare_layout at 263<br>
    in ft_databrowser at 163<br>
    <br>
    The problem still persists.<br>
    Is this enough info for you to sort out what the problem is?<br>
    <br>
    Thanx, Vitória<br>
    <br>
    On 5-10-2011 15:23, jan-mathijs schoffelen wrote:
    <blockquote cite="mid:5709C371-9CC8-40D2-BD0F-D6BE8BE7F611@donders.ru.nl" type="cite">Hi Vitória,
      <div><br>
      </div>
      <div>What's exactly the error you obtain, and perhaps more
        importantly: which FieldTrip version are you using? There have
        been some changes in the past days which broke my earlier
        updates (which I tested rather extensively). By now, I ironed
        out some of these issues by reverting the most recent changes.
        The last fix was done yesterday, so I would like to hear back
        from you if the problem persists if you use an absolutely fresh
        version of the code. Then we can take it from there.</div>
      <div><br>
      </div>
      <div>Best wishes,</div>
      <div><br>
      </div>
      <div>Jan-Mathijs<br>
        <div><br>
          <div>Begin forwarded message:</div>
          <br class="Apple-interchange-newline">
          <blockquote type="cite">
            <div style="margin-top: 0px; margin-right: 0px;
              margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium;
                color:rgba(0, 0, 0, 1);"><b>From: </b></span><span style="font-family:'Helvetica'; font-size:medium;">Vitória
                Magalhães Piai <<a moz-do-not-send="true" href="mailto:V.Piai@psych.ru.nl">V.Piai@psych.ru.nl</a>><br>
              </span></div>
            <div style="margin-top: 0px; margin-right: 0px;
              margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium;
                color:rgba(0, 0, 0, 1);"><b>Date: </b></span><span style="font-family:'Helvetica'; font-size:medium;">October
                5, 2011 3:13:44 PM GMT+02:00<br>
              </span></div>
            <div style="margin-top: 0px; margin-right: 0px;
              margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium;
                color:rgba(0, 0, 0, 1);"><b>To: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><a moz-do-not-send="true" href="mailto:jan.schoffelen@donders.ru.nl">jan.schoffelen@donders.ru.nl</a><br>
              </span></div>
            <div style="margin-top: 0px; margin-right: 0px;
              margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium;
                color:rgba(0, 0, 0, 1);"><b>Subject: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><b>Fwd:
                  Re: ft_databrowser</b><br>
              </span></div>
            <br>
            <meta http-equiv="content-type" content="text/html;
              charset=ISO-8859-1">
            <div bgcolor="#FFFFFF" text="#000000"> Beste Jan-Matthijs, <br>
              <br>
              <pre>Ik gebruik ft_databrowser om de componenten van ICA te bekijken. Sinds een recente wijziging
krijg ik een error erbij met 
ft_prepare_layout at 263
[data.grad] = fixsens(data.grad)

als gevolg een error in ft_databrowser at 163
cfg.layout...

Wat moet ik nu anders doen zodat ik ft_databrowser op mijn normale manier kan gebruiken?

</pre>
              Alvast bedankt, <br>
              vriendelijke groet, Vitória<br>
              <br>
              -------- Original Message --------
              <table class="moz-email-headers-table" border="0" cellpadding="0" cellspacing="0">
                <tbody>
                  <tr>
                    <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Subject:
                    </th>
                    <td>Re: ft_databrowser</td>
                  </tr>
                  <tr>
                    <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Date:
                    </th>
                    <td>Wed, 5 Oct 2011 14:54:29 +0200</td>
                  </tr>
                  <tr>
                    <th align="RIGHT" nowrap="nowrap" valign="BASELINE">From:
                    </th>
                    <td>Eelke Spaak <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:eelke.spaak@donders.ru.nl"><eelke.spaak@donders.ru.nl></a></td>
                  </tr>
                  <tr>
                    <th align="RIGHT" nowrap="nowrap" valign="BASELINE">To:
                    </th>
                    <td><a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:r.vandermeij@donders.ru.nl">r.vandermeij@donders.ru.nl</a></td>
                  </tr>
                  <tr>
                    <th align="RIGHT" nowrap="nowrap" valign="BASELINE">CC:
                    </th>
                    <td>Vitória Magalhães Piai <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:V.Piai@psych.ru.nl"><V.Piai@psych.ru.nl></a></td>
                  </tr>
                </tbody>
              </table>
              <br>
              <br>
              <pre>Ha Vitoria,

Inderdaad zijn er wat wijzigingen gedaan, maar ik weet er ook het
fijne niet van helaas. Volgens mij was Jan-Mathijs (Schoffelen) degene
die hiervoor verantwoordelijk was, maar dat weet ik niet zeker.

Het is (ook voor eventuele toekomstige problemen) denk ik het
verstandigst als je even een mailtje naar de algemene FieldTrip-lijst
stuurt, <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a>. Daar moet je wel eerst voor
registreren, instructies daarvoor staan op
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://fieldtrip.fcdonders.nl/discussion_list">http://fieldtrip.fcdonders.nl/discussion_list</a> .

Groeten,
Eelke

2011/10/5 Roemer van der Meij <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:r.vandermeij@donders.ru.nl"><r.vandermeij@donders.ru.nl></a>:
> Hey Vit,
>
> Er zijn recent wat wijzigingen gedaan in het de grad en elec structuur,
> Eelke, weet jij daar meer van? Ik heb het niet helemaal gevolgd.
>
> Groetjes,
> Roemer
>
>
>
> On 05-10-11 12:56, Vitória Magalhães Piai wrote:
>
> Hoi Roemer, Eelke,
>
> Ik gebruik ft_databrowser om de componenten van ICA te bekijken. Sinds een
> week krijg ik een error erbij met
>
> ft_prepare_layout at 263
> [data.grad] = fixsens(data.grad)
>
> als gevolg een error in ft_databrowser at 163
> cfg.layout...
>
> Ik zag dat jullie twee de laatste wijzigingen gedaan hebben aan die twee
> scripts. Wat is er nu anders waardoor ik ft_databrowser niet meer op mijn
> normale manier kan gebruiken?
>
> Ook voor volgende keer: bij wie moet ik eigenlijk met zulke vragen naar toe
> (of is het de bedoeling dat ik jullie daarmee kom vervelen)? :)
>
> Alvast bedankt, Vitória
>
>
> --
> Roemer van der Meij M.Sc.
> PhD student
> Donders Institute for Brain, Cognition and Behaviour
> Centre for Cognition
> P.O. Box 9104
> 6500 HE Nijmegen
> The Netherlands
> Tel: +31(0)24 3655932
> E-mail: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:r.vandermeij@donders.ru.nl">r.vandermeij@donders.ru.nl</a>
>

</pre>
            </div>
          </blockquote>
        </div>
        <br>
        <div>
          <span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">
                  <div style="word-wrap: break-word; -webkit-nbsp-mode:
                    space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">
                      <div style="word-wrap: break-word;
                        -webkit-nbsp-mode: space; -webkit-line-break:
                        after-white-space; ">
                        <div>Jan-Mathijs Schoffelen, MD PhD </div>
                        <div>Donders Institute for Brain, Cognition and
                          Behaviour, <br>
                          Centre for Cognitive Neuroimaging,<br>
                          Radboud University Nijmegen, The Netherlands</div>
                        <div><a moz-do-not-send="true" href="mailto:J.Schoffelen@donders.ru.nl">J.Schoffelen@donders.ru.nl</a></div>
                        <div>Telephone: +31-24-3614793</div>
                      </div>
                    </span></div>
                </span></div>
            </span></span>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Vitória Piai
PhD Student
Donders Institute for Brain, Cognition and Behaviour
Centre for Cognition
Radboud University Nijmegen
Montessorilaan 3
6525 HR Nijmegen
The Netherlands

Email : <a class="moz-txt-link-abbreviated" href="mailto:V.piai@donders.ru.nl">V.piai@donders.ru.nl</a>
Phone : +31 24 3612635
Room  : Spinoza building B.01.05 
<a class="moz-txt-link-abbreviated" href="http://www.vitoriapiai.com/">www.vitoriapiai.com</a>

** Please consider the environment - do you really need to print? **</pre>
  </div>

</blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Jan-Mathijs Schoffelen, MD PhD </div><div>Donders Institute for Brain, Cognition and Behaviour, <br>Centre for Cognitive Neuroimaging,<br>Radboud University Nijmegen, The Netherlands</div><div><a href="mailto:J.Schoffelen@donders.ru.nl">J.Schoffelen@donders.ru.nl</a></div><div>Telephone: +31-24-3614793</div></div></span></div></span></div></span></span>
</div>
<br></div></body></html>