Skip to content

Commit 1f069b1

Browse files
committed
now copying ALLEEG(CURRENTSET) into EEG to avoid weird behavior where the two are different
1 parent 65440a5 commit 1f069b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

functions/adminfunc/eeg_store.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@
165165
if ~isfield(EEG, 'datfile') && isfield(ALLEEG, 'datfile')
166166
ALLEEG(storeSetIndex).datfile = '';
167167
end
168+
EEG = ALLEEG(storeSetIndex); % ensure equality between the two
168169
end
169170
else
170171
ALLEEG = EEG;

0 commit comments

Comments
 (0)