We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b01eb2e commit 422caa6Copy full SHA for 422caa6
saveEventsFile.m
@@ -87,9 +87,8 @@
87
duration = logFile(iEvent).duration;
88
trial_type = logFile(iEvent).trial_type;
89
90
- if any(isnan([onset trial_type])) || ...
91
- any(isempty([onset trial_type])) || ...
92
- any(strcmp({onset, trial_type}, 'n/a'))
+ if isnan(onset) || ischar(onset) || any(isempty({onset trial_type})) || ...
+ strcmp(trial_type, 'n/a')
93
94
warning('\nSkipping saving this event.\n onset: %f \n trial_type: %s\n', ...
95
onset, ...
0 commit comments