From dbf7187c220af783e24737fa3ae0258b56e03bbd Mon Sep 17 00:00:00 2001 From: Ben Dichter Date: Wed, 28 Mar 2018 18:34:35 -0700 Subject: [PATCH 1/3] fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7af2aa84..73c73cf0 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ The NWB:N schema is in a state of some evolution. This package assumes a certai From the Matlab command line, generate code from a copy of the NWB schema. ```matlab -registry=generateCode('schema/core/nwb.namespace.yaml'); +registry=generateCore('schema/core/nwb.namespace.yaml'); ``` The `registry` is a collection of defined types and is used when adding extension schemas: From 07e5ababfdf8d9710e36ca7f8efbf51f3aa31fef Mon Sep 17 00:00:00 2001 From: Ben Dichter Date: Thu, 29 Mar 2018 18:48:02 -0700 Subject: [PATCH 2/3] fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 73c73cf0..d8ba9111 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ nwb=nwbRead('data.nwb'); and for generating NWB objects for export: ```matlab -%Create some fake fata and write +%Create some fake data and write nwb = nwbfile; nwb.epochs = types.untyped.Group; nwb.epochs.stim = types.Epoch; From 5cf61d3e8db74abe162d5ef4cae3b64be037681d Mon Sep 17 00:00:00 2001 From: bendichter Date: Mon, 2 Apr 2018 13:59:17 -0700 Subject: [PATCH 3/3] fix data size check --- +file/writeClass.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/+file/writeClass.m b/+file/writeClass.m index 35deb261..877f8a31 100644 --- a/+file/writeClass.m +++ b/+file/writeClass.m @@ -253,7 +253,7 @@ function writeClass(className, classStruct, namespace) fprintf(fid, ' if '); for i=1:length(threshold) if i > 1 - fprintf(fid, ' || '); + fprintf(fid, ' && '); end if threshold(i) > 2 fprintf(fid, 'ndims(val) ~= %d', threshold(i));