Skip to content

Commit 2051831

Browse files
committed
revert more isstring
1 parent c363ba8 commit 2051831

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

bidspm.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function bidspm(varargin)
1313

1414
defaultAction = 'init';
1515

16-
isEmptyOrCellstr = @(x) isempty(x) || isstring(x);
16+
isEmptyOrCellstr = @(x) isempty(x) || iscellstr(x); %#ok<*ISCLSTR>
1717
isFileOrStruct = @(x) isstruct(x) || exist(x, 'file') == 2;
1818

1919
isLogical = @(x) islogial(x) && numel(x) == 1;
@@ -22,7 +22,7 @@ function bidspm(varargin)
2222

2323
isFolder = @(x) isfolder(x);
2424

25-
isCellStr = @(x) iscellstr(x); %#ok<ISCLSTR>
25+
isCellStr = @(x) iscellstr(x);
2626

2727
isLowLevelActionOrDir = @(x) (ismember(x, low_level_actions()) || isfolder(x));
2828

src/batches/stats/setBatchFactorialDesign.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158

159159
icell(1).levels = 1;
160160

161-
assert(isstring(icell.scans));
161+
assert(iscellstr(icell.scans));
162162

163163
matlabbatch = returnFactorialDesignBatch(matlabbatch, rfxDir, icell, thisGroup);
164164

src/group_level/findSubjectConImage.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
file = {};
3131

32-
isCharOrCellStr = @(x) ischar(x) || isstring(x);
32+
isCharOrCellStr = @(x) ischar(x) || iscellstr(x);
3333

3434
args = inputParser;
3535

0 commit comments

Comments
 (0)