this is for holding javascript data
System Administrator fixes
about 10 years ago
Commit id: 972d1b8a7d14a259fa61f61bccb1fe7f9961c8b1
deletions | additions
diff --git a/MATLAB/api/createDataset.m b/MATLAB/api/createDataset.m
index 717f564..9c7a263 100644
--- a/MATLAB/api/createDataset.m
+++ b/MATLAB/api/createDataset.m
...
for ii = 1 : numel( H5.Groups)
% This loop indexes the datasets
dsetname =
H5.Groups(ii).Name; H5.Groups(ii).Name %dataset name
for dd = 1 : numel( H5.Groups(ii).Datasets );
% Whether the dataset can be queried will be a file option in the
...
% The index is on the number of datasets
case {'aggregate','Aggregate'}
if ~isfield( YAML, 'aggregate' )
[ YAML.aggregate{ii}.name YAML.aggregate{ii}.native ] = ...
deal( dsetname(2:end) );
end
YAML.aggregate{ii}.description = [];
if numel( fieldnames(YAML.aggregate{ii}) )==0 dsetid = 0;
...
getfield( data, YAML.aggregate{ii}.output{mm}.native );
end
case {'spatial','Spatial'}
if ~isfield( YAML, 'spatial' )
[ YAML.spatial{ii}.name YAML.spatial{ii}.native ] = ...
deal( dsetname(2:end) );
end
YAML.spatial{ii}.description = [];
for mm = 1 : numel(H5.Groups(ii).Datasets(dd).Datatype.Type.Member);