<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><font style="font-size: 11px;">Dear community,</font><div><font style="font-size: 11px;"><br></font></div><div><font style="font-size: 11px;">My name is Andy Kim and I am trying to complete cluster-based permutation tests on event-related fields using the FieldTrip toolbox tutorial (<a href="https://urldefense.com/v3/__https://www.fieldtriptoolbox.org/tutorial/cluster_permutation_timelock/__;!!HJOPV4FYYWzcc1jazlU!-SFXKQT1GL1-POlF7Tj2IUUkZ78bg-KMPsdhinve9Bd3ncr1xtEi7f54D21l6k0asfuAhWSb9wanXJa7lQ$">https://www.fieldtriptoolbox.org/tutorial/cluster_permutation_timelock/</a>). The issue I believe is that I have completed pre-processing using EEGLAB and converted the already pre-processed data using eeglab2fieldtrip.</font></div><div><font style="font-size: 11px;"><br></font></div><div><font style="font-size: 11px;"><span style="white-space: pre; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">ft_data_tar = eeglab2fieldtrip(EEG2, </span><span style="white-space: pre; caret-color: rgb(0, 0, 0); color: rgb(167, 9, 245);">'timelock</span><font color="#a709f5"><span style="caret-color: rgb(0, 0, 0); white-space: pre;">’</span></font><span style="white-space: pre; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">);</span></font></div><div><span style="white-space: pre; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-size: 11px;"><br></span></div><div><font style="font-size: 11px;"><span style="color: rgb(0, 0, 0); caret-color: rgb(0, 0, 0); white-space: pre;">However, when I run ft_timelockanalysis, I get the following</span> </font><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-size: 11px; white-space: pre;">error.</span></div><div><span style="white-space: pre; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-size: 11px;"><br></span></div><div><span style="white-space: pre; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-size: 11px;">timelock_tar = ft_timelockanalysis(cfg, ft_data_tar);</span></div><div><span style="white-space: pre; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-size: 11px;"><br></span></div><div><font style="font-size: 11px;">The input is timelock data with 63 channels and 750 timebins</font></div><div><font style="font-size: 11px;">Unrecognized field name "dimord”. </font></div><div><font style="font-size: 11px;">Error in dimlength (line 74)
elseif strcmp(data.(fld), 'rpt_pos’) </font></div><div><font style="font-size: 11px;">Error in fixsampleinfo (line 56)
ntrial = dimlength(data, 'rpt’);</font></div><div><font style="font-size: 11px;">Error in ft_datatype_timelock (line 152)
timelock = fixsampleinfo(timelock); </font></div><div><font style="font-size: 11px;">Error in ft_checkdata (line 281)
data = ft_datatype_timelock(data, 'hassampleinfo', hassampleinfo); </font></div><div><font style="font-size: 11px;">Error in ft_timelockanalysis (line 83)
data = ft_checkdata(data, 'datatype', {'raw+comp', 'raw'}, 'feedback', 'yes', 'hassampleinfo', 'yes');
</font></div><div><br></div><div>Is this “dimord” field name an issue with the data conversion from EEGLAB to FieldTrip? I am not quite sure where to look and would appreciate any help in sending me in the right direction for debugging. Thank you.</div><div><br></div><div>Best,</div><div>Andy</div></body></html>