[Eeglablist] STUDY design issue - Duplicate Entry detected in new design...

Eddins, Ann aeddins at usf.edu
Tue Jun 24 10:46:02 PDT 2014

Hello James and others,

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.

Any suggestions for a fix?


From: eeglablist-bounces at sccn.ucsd.edu [mailto:eeglablist-bounces at sccn.ucsd.edu] On Behalf Of James Jones-Rounds
Sent: Tuesday, June 24, 2014 10:16 AM
Subject: [Eeglablist] STUDY design issue - Duplicate Entry detected in new design...

Hello all,

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:

Duplicate entry detected in new design, reinitializing design with new file names
Note: duplicate 'key', 'val' parameter(s), keeping the last one(s)

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.
Once I cancel the MATLAB code, line 350 of the "std_makedesign" command seems to be where it gets stuck :

[STUDY com] = std_makedesign(STUDY, ALLEEG, designind, orivarargin{:},
            'defaultdesign', 'forceoff');

Here is the code I use to build the STUDY:

 % Add datasets to STUDY structure
          [STUDY, ALLEEG] = std_editset(STUDY, ALLEEG, 'name', 'myStudy', 'filepath', ...
              '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});

Any insight y'all can provide is greatly appreciated!


James Jones-Rounds
Laboratory Manager
Human Development EEG and Psychophysiology (HEP) Laboratory,
Department of Human Development,
Cornell University | Ithaca, NY
eeg at cornell.edu<mailto:eeg at cornell.edu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20140624/f867e14c/attachment-0001.html>

More information about the eeglablist mailing list