diff --git a/pop_checkdatasetinfo.m b/pop_checkdatasetinfo.m index 7f13a2b..063a75d 100644 --- a/pop_checkdatasetinfo.m +++ b/pop_checkdatasetinfo.m @@ -1,3 +1,22 @@ +% pop_checkdatasetinfo() - Check for consistency between STUDY and ALLEEG +% Fields covered: filename, subject, condition, +% group, session, run. +% +% Usage: +% >> [STUDY, ALLEEG] = pop_checkdatasetinfo(STUDY, ALLEEG); +% +% Inputs: +% STUDY - STUDY structure +% +% ALLEEG - array of all EEG dataset in STUDY +% Outputs: +% STUDY - If there's inconsistency and user select to copy info, +% returned STUDY contains the missing info copied from +% ALLEEG +% +% ALLEEG - Struct array of all EEG dataset in STUDY +% +% Author: Dung Truong, Arnaud Delorme function [STUDY, ALLEEG] = pop_checkdatasetinfo(STUDY, ALLEEG) datasetinfo = STUDY.datasetinfo; different = 0; @@ -21,7 +40,7 @@ function yesCB(src, event) [STUDY, ALLEEG] = std_editset(STUDY, ALLEEG, 'updatedat', 'on'); supergui( 'geomhoriz', { 1 1 1 }, 'uilist', { ... - { 'style', 'text', 'string', 'Information updated. Resave dataset(s) if you want to save the information on disk', 'HorizontalAlignment', 'center'}, { }, ... + { 'style', 'text', 'string', 'Information updated', 'HorizontalAlignment', 'center'}, { }, ... { 'style', 'pushbutton', 'string', 'Ok', 'callback', 'close(gcf);'}}); waitfor(gcf); close(gcf);