diff --git a/src/cli/inputParserForCreateModel.m b/src/cli/inputParserForCreateModel.m index c8d375f5..0b9bb12b 100644 --- a/src/cli/inputParserForCreateModel.m +++ b/src/cli/inputParserForCreateModel.m @@ -7,6 +7,7 @@ % (C) Copyright 2023 bidspm developers args = baseInputParser(); + isLogical = @(x) islogical(x) && numel(x) == 1; isEmptyOrCellstr = @(x) isempty(x) || iscellstr(x); %#ok<*ISCLSTR> isCellStr = @(x) iscellstr(x);