File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 171171end
172172
173173function logFile = initializeFile(expParameters , logFile )
174-
174+
175175 createDataDictionary(expParameters , logFile );
176176
177177 logFile = initializeExtraColumns(logFile );
@@ -257,13 +257,12 @@ function printHeaderExtraColumns(logFile)
257257 if nargin < 2
258258 expectedLength = [];
259259 end
260-
260+
261261 if islogical(data ) && data
262262 data = ' true' ;
263263 elseif islogical(data ) && ~data
264264 data = ' false' ;
265265 end
266-
267266
268267 if ischar(data ) && isempty(data ) || strcmp(data , ' ' )
269268 data = ' n/a' ;
@@ -278,7 +277,7 @@ function printHeaderExtraColumns(logFile)
278277 data(end + 1 : end + padding ) = nan(1 , padding );
279278 elseif ~isempty(expectedLength ) && isnumeric(data ) && max(size(data )) > expectedLength
280279 data = data(1 : expectedLength );
281- warning(' A field for this event is longer than expected. Truncating the extra values.' )
280+ warning(' A field for this event is longer than expected. Truncating the extra values.' );
282281 end
283282
284283end
You can’t perform that action at this time.
0 commit comments