<div dir="ltr">Dear Isaiah,<div><br></div><div>I have no idea what happened there, but why don&#39;t you try my solution for temporary solution.</div><div>I usually load all datasets into EEGLAB and using GUI I create STUDY. I have never experienced any trouble in doing this.</div>

<div>Below is an example (note that in this case each subject&#39;s data are contained in a folder; it&#39;s easier if you can collect them under one folder).</div><div><br></div><div><div>cd /data/projects/Makoto/tic/ticSuppressionStudy</div>

<div>allFolders = dir(&#39;500*&#39;);</div><div>allFolders = allFolders(1:end);</div><div>for n = 1:length(allFolders)</div><div>    tmpFolder = allFolders(n).name;</div><div>    cd(tmpFolder)</div><div>    </div><div>    loadFile = dir(&#39;*_blinticDipEpoch.set&#39;);</div>

<div>    EEG = pop_loadset(&#39;filename&#39;, loadFile.name, &#39;filepath&#39;, pwd, &#39;loadmode&#39;, &#39;info&#39;);</div><div>    EEG.subject = tmpFolder;</div><div>    EEG.group   = &#39;control&#39;;</div><div>
    </div>
<div>    [ALLEEG, EEG, CURRENTSET] = eeg_store( ALLEEG, EEG, 0 );</div><div>    </div><div>    cd ..</div><div>end</div><div>eeglab redraw</div></div><div><br></div><div>After running this, create STUDY using all loaded set files from GUI.</div>

<div><br></div><div>Makoto</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-05-05 14:33 GMT-07:00 Isaiah Innis <span dir="ltr">&lt;<a href="mailto:isainnis@umail.iu.edu" target="_blank">isainnis@umail.iu.edu</a>&gt;</span>:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello all:<br clear="all"><div><br>When I try to create a STUDY in EEGLAB, I see the datasets loading in the command window and then the errors: 
<br>&quot;Duplicate entry detected in new design, reinitializing design with new 
file names&quot; <br>and &quot;Note: duplicate &#39;key&#39;, &#39;val&#39; parameter(s), keeping the last one(s)&quot;<br> start looping. This happens whether I use the GUI or a script. <br><br></div><div>I cannot find what I have done wrong; could someone shed some light on the issue?<br>


</div><div><br></div><div>%Code below<br></div><div>[STUDY ALLEEG] = std_editset( STUDY, ALLEEG, &#39;name&#39;,&#39;Object_Maintenance &#39;,&#39;task&#39;,&#39;observation&#39;, &#39;commands&#39;,...<br>    {...<br>    {&#39;index&#39; 1 &#39;load&#39; &#39;C:\\Users\\Jazmine_Silver\\Documents\\EEG Lab Tech\\EEG Data Files\\MotionPerception\\PilotData\\Study01\\Datasets\\Subject101_study_oobg.set&#39; &#39;subject&#39; &#39;S101&#39; &#39;condition&#39; &#39;oobg&#39;}...<br>


    {&#39;index&#39; 2 &#39;load&#39; &#39;C:\\Users\\Jazmine_Silver\\Documents\\EEG Lab Tech\\EEG Data Files\\MotionPerception\\PilotData\\Study01\\Datasets\\Subject102_study_oobg.set&#39; &#39;subject&#39; &#39;S102&#39; &#39;condition&#39; &#39;oobg&#39;}...<br>


    {&#39;index&#39; 3 &#39;load&#39; &#39;C:\\Users\\Jazmine_Silver\\Documents\\EEG Lab Tech\\EEG Data Files\\MotionPerception\\PilotData\\Study01\\Datasets\\Subject103_study_oobg.set&#39; &#39;subject&#39; &#39;S103&#39; &#39;condition&#39; &#39;oobg&#39;}...<br>


    {&#39;index&#39; 4 &#39;load&#39; &#39;C:\\Users\\Jazmine_Silver\\Documents\\EEG Lab Tech\\EEG Data Files\\MotionPerception\\PilotData\\Study01\\Datasets\\Subject101_study_oibg.set&#39; &#39;subject&#39; &#39;S101&#39; &#39;condition&#39; &#39;oibg&#39;}... <br>


    {&#39;index&#39; 5 &#39;load&#39; &#39;C:\\Users\\Jazmine_Silver\\Documents\\EEG Lab Tech\\EEG Data Files\\MotionPerception\\PilotData\\Study01\\Datasets\\Subject102_study_oibg.set&#39; &#39;subject&#39; &#39;S102&#39; &#39;condition&#39; &#39;oibg&#39;}... <br>


    {&#39;index&#39; 6 &#39;load&#39; &#39;C:\\Users\\Jazmine_Silver\\Documents\\EEG Lab Tech\\EEG Data Files\\MotionPerception\\PilotData\\Study01\\Datasets\\Subject103_study_oibg.set&#39; &#39;subject&#39; &#39;S103&#39; &#39;condition&#39; &#39;oibg&#39;}...<br>


    {&#39;index&#39; 7 &#39;load&#39; &#39;C:\\Users\\Jazmine_Silver\\Documents\\EEG Lab Tech\\EEG Data Files\\MotionPerception\\PilotData\\Study01\\Datasets\\Subject101_study_orbg.set&#39; &#39;subject&#39; &#39;S101&#39; &#39;condition&#39; &#39;orbg&#39;}...<br>


    {&#39;index&#39; 8 &#39;load&#39; &#39;C:\\Users\\Jazmine_Silver\\Documents\\EEG Lab Tech\\EEG Data Files\\MotionPerception\\PilotData\\Study01\\Datasets\\Subject102_study_orbg.set&#39; &#39;subject&#39; &#39;S102&#39; &#39;condition&#39; &#39;orbg&#39;}...<br>


    {&#39;index&#39; 9 &#39;load&#39; &#39;C:\\Users\\Jazmine_Silver\\Documents\\EEG Lab Tech\\EEG Data Files\\MotionPerception\\PilotData\\Study01\\Datasets\\Subject103_study_orbg.set&#39; &#39;subject&#39; &#39;S103&#39; &#39;condition&#39; &#39;orbg&#39;}...<br>


    {&#39;index&#39; 10 &#39;load&#39; &#39;C:\\Users\\Jazmine_Silver\\Documents\\EEG Lab Tech\\EEG Data Files\\MotionPerception\\PilotData\\Study01\\Datasets\\Subject101_study_ovbg.set&#39; &#39;subject&#39; &#39;S101&#39; &#39;condition&#39; &#39;ovbg&#39;}...   <br>


    {&#39;index&#39; 11 &#39;load&#39; &#39;C:\\Users\\Jazmine_Silver\\Documents\\EEG Lab Tech\\EEG Data Files\\MotionPerception\\PilotData\\Study01\\Datasets\\Subject102_study_ovbg.set&#39; &#39;subject&#39; &#39;S102&#39; &#39;condition&#39; &#39;ovbg&#39;}...   <br>


    {&#39;index&#39; 12 &#39;load&#39; &#39;C:\\Users\\Jazmine_Silver\\Documents\\EEG Lab Tech\\EEG Data Files\\MotionPerception\\PilotData\\Study01\\Datasets\\Subject103_study_ovbg.set&#39; &#39;subject&#39; &#39;S103&#39; &#39;condition&#39; &#39;ovbg&#39;}...<br>


    }, &#39;updatedat&#39;, &#39;off&#39; );<br></div><div>%End of code<br></div><div><br><br></div><div>Thank you, <br></div><span class="HOEnZb"><font color="#888888"><div>-- <br><div dir="ltr">Isaiah Innis<br>Indiana University &#39;13<br>

Lab Manager, IUB IRF<br>
<br><br></div>
</div></font></span></div>
<br>_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject &quot;set digest mime&quot; to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a><br></blockquote></div><br><br clear="all"><div><br></div>

-- <br><div dir="ltr">Makoto Miyakoshi<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br></div>
</div>