<div dir="ltr">I did as you asked. I put it in the core category with the error as the title</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 11, 2013 at 2:04 AM, jan-mathijs schoffelen <span dir="ltr"><<a href="mailto:jan.schoffelen@donders.ru.nl" target="_blank">jan.schoffelen@donders.ru.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi Nicholas,<div><br></div><div>It seems that the fif files lacks some information that FieldTrip assumes to be present. I would say that this can only be caused by the fact that the version of mne_make_source_space you used does not write the triangle area information into the fif file. Could you go to <a href="http://bugzilla.fcdonders.nl" target="_blank">bugzilla.fcdonders.nl</a>, create yourself an account, and file the issue as a bug? Please then also upload the fif-file you mentioned. I'll have a look at it and make the ft_read_headshape function more robust. In the mean time you could comment out line 421. </div>
<div><br></div><div>Best,</div><div>Jan-Mathijs</div><div><br></div><div><br></div><div><br><div><div><div class="h5"><div>On Dec 10, 2013, at 6:23 PM, Nicholas Heugel wrote:</div><br></div></div><blockquote type="cite"><div>
<div class="h5"><div dir="ltr">I a trying to go through the tutorial for the <ul style="padding:0px;margin:0px 0px 0px 1.5em;line-height:22px;list-style-type:square;color:rgb(99,140,156);font-family:Calibri,Geneva,Arial,Verdana,sans-serif;font-size:15px;text-align:justify">
<li style="padding:0px;margin:0px"><div style="padding:0px;margin:0px;color:rgb(0,0,0)"><a href="http://fieldtrip.fcdonders.nl/tutorial/minimumnormestimate" title="" style="padding:0px;margin:0px;color:rgb(0,136,204);text-decoration:none" target="_blank">Source reconstruction of event-related fields using minimum-norm estimate</a></div>
<div style="padding:0px;margin:0px;color:rgb(0,0,0)"><br></div><div style="padding:0px;margin:0px;color:rgb(0,0,0)">I am able to run everything up to the MNE with no problem, and it seems like the MNE portion works. But when I run the command <span style="background-color:rgb(247,249,250);font-family:Consolas,'Andale Mono',Menlo,Monaco,monospace;font-size:12px;white-space:pre-wrap">bnd = ft_read_headshape('Subject01-oct-6-src.fif', 'format', 'mne_source');</span></div>
<div style="padding:0px;margin:0px;color:rgb(0,0,0)"><span style="background-color:rgb(247,249,250);font-family:Consolas,'Andale Mono',Menlo,Monaco,monospace;font-size:12px;white-space:pre-wrap">and then plot it to visualize the source space. I get the error </span><span style="color:rgb(99,140,156)">Reference to non-existent field 'use_tri_area'.
Error in ft_read_headshape (line 421)
shape.area = [src(1).use_tri_area(:); src(2).use_tri_area(:)];</span></div> I have looked on this site and online and can't find an explanation of what is wrong or how to fix the problem. Any help would be appreciated. I am using an Anatomical MRI scan for the head model analysis, the skull is present and I manually am Identifying the fiducials. Also, a few steps earlier it had me check the white matter segmentation done by Freesurfer and that worked fine and what I get closely resembles the tutorial. So I think the problem is somewhere in the MNE I am just not sure where. Any help would be appreciated. Thank you for your time.<br>
</li></ul><div style="text-align:justify"><font color="#638c9c" face="Calibri, Geneva, Arial, Verdana, sans-serif"><span style="font-size:15px;line-height:22px">Nicholas</span></font></div></div></div></div>
_______________________________________________<br>fieldtrip mailing list<br><a href="mailto:fieldtrip@donders.ru.nl" target="_blank">fieldtrip@donders.ru.nl</a><br><a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a></blockquote>
</div><br><div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<div>Jan-Mathijs Schoffelen, MD PhD </div><div><br></div><div>Donders Institute for Brain, Cognition and Behaviour, <br>Centre for Cognitive Neuroimaging,<br>Radboud University Nijmegen, The Netherlands</div><div><br></div>
<div>Max Planck Institute for Psycholinguistics,</div><div>Nijmegen, The Netherlands</div><div><br></div><div><a href="mailto:J.Schoffelen@donders.ru.nl" target="_blank">J.Schoffelen@donders.ru.nl</a></div><div>Telephone: <a href="tel:%2B31-24-3614793" value="+31243614793" target="_blank">+31-24-3614793</a></div>
<div><br></div><div><a href="http://www.hettaligebrein.nl" target="_blank">http://www.hettaligebrein.nl</a></div></div></span></div></span></div></span></div></span></div></span></div></span></div></span></div></span></span>
</div>
<br></div></div><br>_______________________________________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
<a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br></blockquote></div><br></div>