Skip to content

Commit 5e994c3

Browse files
committed
replace contains by ismember for octave
1 parent 182d6df commit 5e994c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/createDataDictionary.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function createDataDictionary(cfg, logFile)
3636
'Units', 's') ...
3737
);
3838

39-
if contains(fullFilename, '_stim')
39+
if ismember('_stim', fullFilename)
4040

4141
samplingFrequency = nan;
4242
startTime = nan;
@@ -63,7 +63,7 @@ function createDataDictionary(cfg, logFile)
6363

6464
headerName = returnHeaderName(namesExtraColumns{iExtraColumn}, nbCol, iCol);
6565

66-
if contains(fullFilename, '_stim')
66+
if ismember('_stim', fullFilename)
6767

6868
jsonContent.Columns{end + 1} = headerName;
6969

0 commit comments

Comments
 (0)