<div dir="ltr">Dear mailing list. It seems I have discovered an error in pop_chanedit. If not, I would very much appreciate instructions regarding how to use it properly:<div><br></div><div>When deleting a set of channels from my data set I instead get an error message:</div><div><br></div><div>----------------------------------------</div><div><br></div><div>>> EEGtempL=pop_chanedit(EEGtempL,'delete',chanIdxsToRemove);<br></div><div><br></div><div><div>Wrong channel structure size, changes ignored</div><div><br></div><div>----------------------------------------<br></div><div><br></div><div>The error message is given by 923 in pop_chanedit, and is caused by a check of whether the number of channels has changed (nchansori == length(chans), l. 916). But since this is a "delete" call, naturally chansori is not equal to length(chans). It seems to be an error that this check is performed after l. 580 where the channels were removed.</div><div><br></div><div>I am using eeglab13_4_3b. </div><div><br></div><div>Best</div><div>Kaare Mikkelsen </div><div><br></div><div><div class="gmail_signature"><div dir="ltr"><font style="background-color:rgb(255,255,255)">--------------------------------------------------------------------</font><div style="font-family:arial;font-size:small">Kaare Mikkelsen, Dr. Phys.</div><div style="font-family:arial;font-size:small">Department of Engineering</div><div style="font-family:arial;font-size:small">Aarhus University<br></div><div>--------------------------------------------------------------------<br></div></div></div></div>
</div></div>