File tree Expand file tree Collapse file tree 3 files changed +47
-3
lines changed Expand file tree Collapse file tree 3 files changed +47
-3
lines changed Original file line number Diff line number Diff line change 55 addpath(fullfile(pth , ' lib' , ' bids-matlab' ));
66 addpath(fullfile(pth , ' lib' , ' utils' ));
77 addpath(fullfile(pth , ' subfun' ));
8+
9+ printCredits()
810
911end
Original file line number Diff line number Diff line change 1+ function printCredits()
2+
3+ version = ' 0.0.1' ;
4+
5+ contributors = { ...
6+ ' Rémi Gau' , ...
7+ ' Marco Barilari' , ...
8+ ' Ceren Battal' };
9+
10+ % DOI_URL = 'https://doi.org/10.5281/zenodo.3554331.';
11+
12+ repoURL = ' https://github.com/cpp-lln-lab/CPP_BIDS' ;
13+
14+ disp(' ___________________________________________________' );
15+ disp(' ___________________________________________________' );
16+ disp(' ' );
17+ disp(' ___ ___ ___ ___ ___ ___ ___ ' );
18+ disp(' / __| _ \ _ \ | _ )_ _| \/ __|' );
19+ disp(' | (__| _/ _/ | _ \| || |) \__ \' );
20+ disp(' \___|_| |_| |___/___|___/|___/' );
21+ disp(' ' );
22+
23+
24+ splash = ' Thank you for using the CPP BIDS - version %s . ' ;
25+ fprintf(splash , version );
26+ fprintf(' \n\n ' );
27+
28+ fprintf(' Current list of contributors includes:\n ' );
29+ for iCont = 1 : numel(contributors )
30+ fprintf(' %s\n ' , contributors{iCont });
31+ end
32+ fprintf(' \b\n\n ' );
33+
34+ % fprintf('Please cite using the following DOI: \n %s\n\n', DOI_URL)
35+
36+ fprintf(' For bug report, suggestions or contributions see: \n %s\n\n ' , repoURL );
37+
38+ disp(' ___________________________________________________' );
39+ disp(' ___________________________________________________' );
40+
41+ fprintf(' \n\n ' );
42+
43+ end
Original file line number Diff line number Diff line change 8787 duration = logFile(iEvent ).duration;
8888 trial_type = logFile(iEvent ).trial_type;
8989
90- if any(isnan([onset trial_type ])) || ...
91- any(isempty([onset trial_type ])) || ...
92- any(strcmp({onset , trial_type }, ' n/a' ))
90+ if isnan(onset ) || ischar(onset ) || any(isempty({onset trial_type })) || ...
91+ strcmp(trial_type , ' n/a' )
9392
9493 warning(' \n Skipping saving this event.\n onset: %f \n trial_type: %s\n ' , ...
9594 onset , ...
You can’t perform that action at this time.
0 commit comments