<div dir="ltr">Good to hear that Arno, thanks!<div><br></div><div>Makoto</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jun 28, 2014 at 11:43 AM, James Jones-Rounds <span dir="ltr"><<a href="mailto:jj324@cornell.edu" target="_blank">jj324@cornell.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Glory! Many thanks Arno :)</p>
<div class="gmail_quote"><div><div class="h5">On Jun 28, 2014 11:28 AM, "Arnaud Delorme" <<a href="mailto:arno@ucsd.edu" target="_blank">arno@ucsd.edu</a>> wrote:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><div class="h5">
<div style="word-wrap:break-word">Yes, Makoto,<div><br></div><div>This bug has been fixed. However, we need to release a new zip file.</div><div>It is only available through SVN. Best is to replace the attached function in eeglabxxxx/functions/studyfunc</div>


<div><br></div><div>Thanks,</div><div><br></div><div>Arno</div><div><br></div><div></div></div><br></div></div><div><div class="h5"><div style="word-wrap:break-word"><div></div><div><br><div><div>On Jun 28, 2014, at 5:38 AM, Makoto Miyakoshi <<a href="mailto:mmiyakoshi@ucsd.edu" target="_blank">mmiyakoshi@ucsd.edu</a>> wrote:</div>


<br><blockquote type="cite"><div dir="ltr">Dear Arno and Ramon,<div><br></div><div>I often hear this trouble these days. There must be something wrong with the current STUDY. I put a red flag here to draw your attention.</div>


<div><br></div><div>Makoto</div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 24, 2014 at 10:46 AM, Eddins, Ann <span dir="ltr"><<a href="mailto:aeddins@usf.edu" target="_blank">aeddins@usf.edu</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">






<div lang="EN-US" link="blue" vlink="purple">
<div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hello James and others,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>


<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I was just preparing to send an email to the list for this same error.  I have created small studies with no problem but just created a new study that includes
 99 files (so far).  I’ve tried adding/deleting study designs, but it continues to get stuck in an infinite loop with the same “duplicate entry” error that James mentions below. 
<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Any suggestions for a fix?<u></u><u></u></span></p>


<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks,<u></u><u></u></span></p>


<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Ann<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>


<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <a href="mailto:eeglablist-bounces@sccn.ucsd.edu" target="_blank">eeglablist-bounces@sccn.ucsd.edu</a> [mailto:<a href="mailto:eeglablist-bounces@sccn.ucsd.edu" target="_blank">eeglablist-bounces@sccn.ucsd.edu</a>]
<b>On Behalf Of </b>James Jones-Rounds<br>
<b>Sent:</b> Tuesday, June 24, 2014 10:16 AM<br>
<b>To:</b> EEGLAB List<br>
<b>Subject:</b> [Eeglablist] STUDY design issue - Duplicate Entry detected in new design...<u></u><u></u></span></p><div><div><p class="MsoNormal"><u></u> <u></u></p>
<div><p class="MsoNormal">Hello all,<u></u><u></u></p>
<div><p class="MsoNormal"><u></u> <u></u></p>
</div>
<div><p class="MsoNormal">I am trying to build a STUDY, and I use the following code to build it from the command line (see below). Once it's built, I load it via the EEGLAB GUI and try to specify the designs I'm interested in. Once I click 'OK' in the design editing
 GUI window, MATLAB gets stuck in an infinite loop, with this warning code appearing repeatedly:<u></u><u></u></p>
</div>
<div><p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div><p class="MsoNormal">Duplicate entry detected in new design, reinitializing design with new file names<u></u><u></u></p>
</div>
<div><p class="MsoNormal">Note: duplicate 'key', 'val' parameter(s), keeping the last one(s)<u></u><u></u></p>
</div>
<div><p class="MsoNormal"><u></u> <u></u></p>
</div>
<div><p class="MsoNormal">I don't think it's a bug - I think it's an issue with my STUDY - but I've never had this issue before.<u></u><u></u></p>
</div>
<div><p class="MsoNormal">Once I cancel the MATLAB code, line 350 of the "std_makedesign" command seems to be where it gets stuck :<u></u><u></u></p>
</div>
<div><p class="MsoNormal"><u></u> <u></u></p>
</div>
<div><p class="MsoNormal">[STUDY com] = std_makedesign(STUDY, ALLEEG, designind, orivarargin{:},<u></u><u></u></p>
</div>
<div><p class="MsoNormal">            'defaultdesign', 'forceoff');<u></u><u></u></p>
</div>
<div><p class="MsoNormal"><u></u> <u></u></p>
</div>
<div><p class="MsoNormal">Here is the code I use to build the STUDY:<u></u><u></u></p>
</div>
<div><p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div><p class="MsoNormal"> % Add datasets to STUDY structure<u></u><u></u></p>
</div>
<div><p class="MsoNormal">          [STUDY, ALLEEG] = std_editset(STUDY, ALLEEG, 'name', 'myStudy', 'filepath', ...<u></u><u></u></p>
</div>
<div><p class="MsoNormal">              'E:\myStudyFiles\',...<u></u><u></u></p>
</div>
<div><p class="MsoNormal">              'filename', 'MyStudy', 'commands', {'index', index, 'load', strcat(full_path_for_this_subjects_set_files, '\', filenameEEG), 'subject', participant_string_from_folder_name, 'inbrain', 'on', 'dipselect', .28});<u></u><u></u></p>





</div>
<div><p class="MsoNormal">          <u></u><u></u></p>
</div>
</div>
<div><p class="MsoNormal"><u></u> <u></u></p>
</div>
<div><p class="MsoNormal">Any insight y'all can provide is greatly appreciated!<u></u><u></u></p>
</div>
<div><p class="MsoNormal"><br>
James<u></u><u></u></p>
</div>
<div><p class="MsoNormal"><u></u> <u></u></p>
</div><p class="MsoNormal">-- <u></u><u></u></p>
<div>
<div><p class="MsoNormal">James Jones-Rounds<u></u><u></u></p>
</div><p class="MsoNormal">Laboratory Manager<br>
Human Development EEG and Psychophysiology (HEP) Laboratory,<u></u><u></u></p>
<div><p class="MsoNormal">Department of Human Development,<br>
--------------------------------------------<br>
Cornell University | Ithaca, NY<u></u><u></u></p>
</div>
<div><p class="MsoNormal"><a href="tel:607-255-9883" value="+16072559883" target="_blank">607-255-9883</a><u></u><u></u></p>
</div>
<div><p class="MsoNormal"><a href="mailto:eeg@cornell.edu" target="_blank">eeg@cornell.edu</a><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div></div></div>
</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" target="_blank">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">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>
</blockquote></div><br></div></div><br></div></div></blockquote></div>
</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>