Skip to content

Commit d8f74c9

Browse files
authored
Fix specification for data property of Dataset types and nwbtest function (#757)
* Update Dataset.m * Update nwbtest.m
1 parent f73c347 commit d8f74c9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

+file/Dataset.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@
155155
% the type should be empty, and we add a custom doc.
156156
objCopy = obj;
157157
objCopy.name = 'data';
158+
objCopy.isConstrainedSet = false;
158159
objCopy.type = ''; % Reset type, as this now represents a property
159160
objCopy.doc = sprintf('Data property for dataset class (%s)', obj.type);
160161
props('data') = objCopy;

nwbtest.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
try
4242
parser = inputParser;
4343
parser.KeepUnmatched = true;
44+
parser.PartialMatching = false;
4445
parser.addParameter('Verbosity', 1);
4546
parser.addParameter('Selector', [])
4647
parser.addParameter('Namespace', 'tests')

0 commit comments

Comments
 (0)