<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta content="text/html; charset=utf-8">
</head>
<body class="" style="word-wrap:break-word; line-break:after-white-space">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style>
<!--
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline}
.MsoChpDefault
{}
@page WordSection1
{margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
{}
-->
</style>
<div class="WordSection1">
<p class="MsoNormal">Thanks Jan-Mathijs,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Sorry about that, I am using the megconnectome x3.0 and fieldtrip-r10442, But perhaps I should try cycling through the different fieldtrip versions to see if that makes a difference.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Best,</p>
<p class="MsoNormal">Matt </p>
<p class="MsoNormal"> </p>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="border:none; padding:0in"><b>From: </b><a href="mailto:jan.schoffelen@donders.ru.nl">Schoffelen, J.M. (Jan Mathijs)</a><br>
<b>Sent: </b>Wednesday, September 23, 2020 2:57 AM<br>
<b>To: </b><a href="mailto:fieldtrip@science.ru.nl">FieldTrip discussion list</a><br>
<b>Subject: </b>[External] Re: [FieldTrip] ft_preamble error for HCP Pipeline</p>
</div>
<p class="MsoNormal"> </p>
</div>
<div>
<div style="font-family:Arial,Helvetica,sans-serif; font-size:12px; background-color:#ffece5; color:#82270d; border-left:.25rem solid #df3603; padding:.5rem; text-align:left; line-height:1.25">
This message was sent from a non-IU address. Please exercise caution when clicking links or opening attachments from external sources.</div>
<br>
Hi Matt,
<div class=""><br class="">
</div>
<div class="">Hard to tell without any additional information. The megconnectome code was written ~7 years ago, using a certain version of the fieldtrip code base. It is not unlikely that there are compatibility issues.</div>
<div class="">You did not provide information with respect to the FieldTrip version you are using, but my first guess would be a mismatch. </div>
<div class=""><br class="">
</div>
<div class="">Best wishes,</div>
<div class="">Jan-Mathijs</div>
<div class=""><br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 23 Sep 2020, at 03:46, Winter, Matthew <<a href="mailto:mattwint@iu.edu" class="">mattwint@iu.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="WordSection1" style="font-family:Helvetica; font-size:14px; font-style:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<div class="" style="margin:0in; font-size:11pt; font-family:Calibri,sans-serif">
Hi Everyone,</div>
<div class="" style="margin:0in; font-size:11pt; font-family:Calibri,sans-serif">
</div>
<div class="" style="margin:0in; font-size:11pt; font-family:Calibri,sans-serif">
I am trying to run the megconnectome pipeline hcp_tmegconnebacic.m. However I get a list of errors:</div>
<div class="" style="margin:0in; font-size:11pt; font-family:Calibri,sans-serif">
</div>
<div class="" style="margin:0in; font-size:11pt; font-family:Calibri,sans-serif">
Error using ft_preamble_init (line 42)</div>
<div class="" style="margin:0in; font-size:11pt; font-family:Calibri,sans-serif">
It seems as if the first input argument is a FieldTrip data structure, while a cfg is expected</div>
<div class="" style="margin:0in; font-size:11pt; font-family:Calibri,sans-serif">
</div>
<div class="" style="margin:0in; font-size:11pt; font-family:Calibri,sans-serif">
Error in ft_preamble (line 83)</div>
<div class="" style="margin:0in; font-size:11pt; font-family:Calibri,sans-serif">
evalin('caller', full_cmd);</div>
<div class="" style="margin:0in; font-size:11pt; font-family:Calibri,sans-serif">
</div>
<div class="" style="margin:0in; font-size:11pt; font-family:Calibri,sans-serif">
Error in ft_selectdata (line 80)</div>
<div class="" style="margin:0in; font-size:11pt; font-family:Calibri,sans-serif">
ft_preamble init</div>
<div class="" style="margin:0in; font-size:11pt; font-family:Calibri,sans-serif">
</div>
<div class="" style="margin:0in; font-size:11pt; font-family:Calibri,sans-serif">
Error in hcp_tmegconnebasic_contrasts (line 283)</div>
<div class="" style="margin:0in; font-size:11pt; font-family:Calibri,sans-serif">
datacntr1A=ft_selectdata(alldata1A,'rpt',sel);</div>
<div class="" style="margin:0in; font-size:11pt; font-family:Calibri,sans-serif">
</div>
<div class="" style="margin:0in; font-size:11pt; font-family:Calibri,sans-serif">
Error in hcp_tmegconnebasic (line 534)</div>
<div class="" style="margin:0in; font-size:11pt; font-family:Calibri,sans-serif">
[outStatus] = hcp_tmegconnebasic_contrasts(cfg);</div>
<div class="" style="margin:0in; font-size:11pt; font-family:Calibri,sans-serif">
</div>
<div class="" style="margin:0in; font-size:11pt; font-family:Calibri,sans-serif">
It traces back to the ft_preamble_init functions when it calls another function, FjmoT6aA_stack = dbstack(‘-completenames'), and I find myself at a deadend there, I am not sure how or where the cfg is supposed to be input. Does anyone have any insights that
could help me figure this out?<span class="Apple-converted-space"> </span></div>
<div class="" style="margin:0in; font-size:11pt; font-family:Calibri,sans-serif">
</div>
<div class="" style="margin:0in; font-size:11pt; font-family:Calibri,sans-serif">
Best,</div>
<div class="" style="margin:0in; font-size:11pt; font-family:Calibri,sans-serif">
Matt</div>
</div>
<span class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; float:none; display:inline!important">_______________________________________________</span><br class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<span class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; float:none; display:inline!important">fieldtrip
mailing list</span><br class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-weight:normal; letter-spacing:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-weight:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<a href="https://doi.org/10.1371/journal.pcbi.1002202" class="" style="font-family:Helvetica; font-size:14px; font-style:normal; font-weight:normal; letter-spacing:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px">https://doi.org/10.1371/journal.pcbi.1002202</a></div>
</blockquote>
</div>
<br class="">
</div>
</div>
</body>
</html>