<div dir="ltr">Dear EEGLAB list
<div><br></div><div>I would be very grateful is someone could help me out with an error I've been getting. When I try to precluster components in a given STUDY (it happens for several study files), I get the following error:</div><div><br></div><div><pre class="" id="comment_text_0" style="width:50em"><font color="#000000" size="3"><span style="white-space:pre-wrap;background-color:rgb(232,232,232)">FOR CLUSTERING, YOU MAY ONLY USE DIPOLE OR SCALP MAP CLUSTERING. This is
because some datasets do not have ICA pairs. Look for NaN values in
STUDY.cluster(1).sets which indicate missing datasets. Each column in this
array indicate datasets with common ICA decompositions.</span></font><br><br></pre><pre class="" id="comment_text_0" style="width:50em"><font face="arial, helvetica, sans-serif">Looking inside the cluster(1).sets, I can indeed find some NaN fields, suggesting not all files have associated ICA decomposition data. This, however, is puzzling because I made sure to do ICA on each subject's dataset *before* epoching, meaning that all sets for individual conditions share the same weights for a subject. After getting this error I even tried to copy the weights </font><span style="font-family:arial,sans-serif">(EEG.icawinv + EEG.icasphere + EEG.icaweights + EEG.icachansind)</span><span style="font-family:arial,helvetica,sans-serif"> from the unepoched set to all the epoched ones.</span></pre><pre class="" id="comment_text_0" style="width:50em"><font face="arial, helvetica, sans-serif">Did anyone have this error too, and how could it be solved?</font></pre><pre class="" id="comment_text_0" style="width:50em"><font face="arial, helvetica, sans-serif">Thanks for any help,</font></pre><pre class="" id="comment_text_0" style="width:50em"><font face="arial, helvetica, sans-serif">Nikola</font></pre></div></div>