<div dir="ltr">Dear Ramon,<div><br></div><div>Here is the STUDY design issue. Could you help her?</div><div><br></div><div>Ann, I want to know your design in detail. Could you tell us more about it?</div><div><br></div><div>
Makoto</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 23, 2014 at 3:51 PM, 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">Dear EEGlab users,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I had this problem with a previous version but am now struggling with it again with the latest vesion of EEGlab (13.3.2). I have a large set of data with 10 subjects and 15 conditions each. I have processed each dataset (150 files), including
ICA (with artifact components marked but not rejected) and dipole fitting. I am trying to create a study and continue to get the following error
<u></u><u></u></p>
<p class="MsoNormal"><span style="color:red">“Duplicate entry detected in new design, reinitializing design with new file names. Note: duplicate 'key', 'val' parameter(s), keeping the last one(s).” <u></u><u></u></span></p>
<p class="MsoNormal">The error points lines 342-350 in the std_makedesign function:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="text-indent:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:blue">if</span><span style="font-size:10.0pt;font-family:"Courier New";color:black"> ~isempty(findstr(</span><span style="font-size:10.0pt;font-family:"Courier New";color:#a020f0">'design_'</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">,
des.cell(1).filebase))</span><span style="font-size:12.0pt;font-family:"Courier New""><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:black"> error(</span><span style="font-size:10.0pt;font-family:"Courier New";color:#a020f0">'There is a problem with your STUDY, contact
EEGLAB support'</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">);</span><span style="font-size:12.0pt;font-family:"Courier New""><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span><span style="font-size:10.0pt;font-family:"Courier New";color:blue">else</span><span style="font-size:12.0pt;font-family:"Courier New""><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:black"> disp(</span><span style="font-size:10.0pt;font-family:"Courier New";color:#a020f0">'Duplicate entry detected in new design, reinitializing
design with new file names'</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">);</span><span style="font-size:12.0pt;font-family:"Courier New""><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span><span style="font-size:10.0pt;font-family:"Courier New";color:blue">if</span><span style="font-size:10.0pt;font-family:"Courier New";color:black"> length(dbstack) > 10</span><span style="font-size:12.0pt;font-family:"Courier New""><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:black"> error(</span><span style="font-size:10.0pt;font-family:"Courier New";color:#a020f0">'There is probably an issue with the folder
names - move the files and try again'</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">);</span><span style="font-size:12.0pt;font-family:"Courier New""><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span><span style="font-size:10.0pt;font-family:"Courier New";color:blue">end</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">;</span><span style="font-size:12.0pt;font-family:"Courier New""><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:black"> [STUDY com] = std_makedesign(STUDY, ALLEEG, designind, orivarargin{:},
</span><span style="font-size:10.0pt;font-family:"Courier New";color:#a020f0">'defaultdesign'</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">,
</span><span style="font-size:10.0pt;font-family:"Courier New";color:#a020f0">'forceoff'</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">);</span><span style="font-size:12.0pt;font-family:"Courier New""><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span><span style="font-size:10.0pt;font-family:"Courier New";color:blue">return</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">;</span><span style="font-size:12.0pt;font-family:"Courier New""><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span><span style="font-size:10.0pt;font-family:"Courier New";color:blue">end</span><span style="font-size:12.0pt;font-family:"Courier New""><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:"Courier New";color:black">
</span><span style="font-size:10.0pt;font-family:"Courier New";color:blue">end</span><span style="font-size:10.0pt;font-family:"Courier New";color:black">;</span><span style="font-size:12.0pt;font-family:"Courier New""><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Although it reiterates several times trying to build the STUDY design, it ultimately fails. I’ve tried the following: 1) creating smaller studies using only a few combinations of files from different subjects and different set of conditions,
2) loading all datasets then creating a STUDY with all loaded sets, 3) moving my selected dataset files to a different folder, but no luck – I continue to get the same error. I cannot get it to create even a default design file.
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I’m not sure if the problem is with my processed files, the filenames, or if this is a bug with std_makedesign. Has anyone else had this problem recently and if so, can you offer suggestions for a solution?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Many thanks!<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></p><span class="HOEnZb"><font color="#888888">
<p class="MsoNormal">Ann<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</font></span></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">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">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></div>