File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -215,15 +215,15 @@ function printHeaderExtraColumns(logFile)
215215
216216 logFile(iEvent ).(namesExtraColumns{iExtraColumn }) = data ;
217217
218- if any(isnan(data ))
218+ if ~ischar( data ) && any(isnan(data ))
219219 warning(' saveEventsFile:missingData' , ...
220220 ' Missing some %s data for this event.' , namesExtraColumns{iExtraColumn });
221221
222222 if cfg .verbose
223223 disp(logFile(iEvent ));
224224 end
225225
226- elseif all(isnan(data ))
226+ elseif ~ischar( data ) && all(isnan(data ))
227227 warning(' Missing %s data for this event.' , namesExtraColumns{iExtraColumn });
228228
229229 if cfg .verbose
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ function test_saveEventsFileSaveMissingInfo()
137137end
138138
139139function test_saveEventsFileSaveArraySize()
140-
140+
141141 %% set up
142142
143143 [cfg , logFile ] = setUp();
You can’t perform that action at this time.
0 commit comments