File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change 169169
170170 % handle {} attribute access in navigation chain
171171 if (strcmp(idx .type , ' {}' ) && iscell(idx .subs ) && length(idx .subs ) == 1 && ischar(idx.subs{1 }))
172- val = [ obj .getattr(trackpath , idx.subs{1 })] ;
172+ val = obj .getattr(trackpath , idx.subs{1 });
173173 i = i + 1 ;
174174 continue
175175 end
374374 if (~isempty(dims ) && iscell(dims ))
375375 dimpos = find(strcmp(dims , dimname ));
376376 if (~isempty(dimpos ) && ~isempty(idxkey(oplen ).subs))
377- % navigate to the data
378- data = obj .data ;
379- if (oplen > 2 )
380- data = subsref(obj , idxkey(1 : oplen - 2 ));
381- if (isa(data , ' jdict' ))
382- data = data .data ;
383- end
384- end
385377 % build full indices
386378 nddata = length(dims );
387379 indices = cell(1 , nddata );
You can’t perform that action at this time.
0 commit comments