Skip to content

Commit

Permalink
remove positive number validation for getRow ind.
Browse files Browse the repository at this point in the history
If useID is True, then ind can be of value 0
  • Loading branch information
bendichter authored and lawrence-mbf committed Jun 24, 2024
1 parent aba5a3a commit 3a99b91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion +types/+util/+dynamictable/getRow.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

validateattributes(DynamicTable,...
{'types.core.DynamicTable', 'types.hdmf_common.DynamicTable'}, {'scalar'});
validateattributes(ind, {'numeric'}, {'positive', 'vector'});
validateattributes(ind, {'numeric'}, {'vector'});

p = inputParser;
addParameter(p, 'columns', DynamicTable.colnames, @(x)iscellstr(x));
Expand Down

0 comments on commit 3a99b91

Please sign in to comment.