@@ -152,25 +152,25 @@ function project(self, params)
152152
153153 include = [self .attributes .iskey ]; % always include the primary key
154154 for iAttr= 1 : length(params )
155- if strcmp(' *' ,params{iAttr })
155+ if strcmp(' *' , params{iAttr })
156156 include = include | true ; % include all attributes
157157 else
158158 % process a renamed attribute
159159 toks = regexp(params{iAttr }, ...
160160 ' ^([a-z]\w*)\s*->\s*(\w+)' , ' tokens' );
161161 if ~isempty(toks )
162- ix = find(strcmp(toks{1 }{1 },self .names ));
162+ ix = find(strcmp(toks{1 }{1 }, self .names ));
163163 if ~length(ix )
164- ix = find(strcmp(toks{1 }{1 },{self .attributes .alias }));
165- assert(length(ix )==1 ,' Attribute `%s ` not found' ,toks{1 }{1 });
164+ ix = find(strcmp(toks{1 }{1 }, {self .attributes .alias }));
165+ assert(length(ix )==1 , ' Attribute `%s ` not found' , toks{1 }{1 });
166166 self .attributes(self .count + 1 ) = self .attributes(ix );
167167 self .attributes(self .count ).name = self .attributes(self .count ).alias;
168168 self .attributes(self .count ).alias = ' ' ;
169169 ix = self .count ;
170170 end
171- assert(length(ix )==1 ,' Attribute `%s ` not found' ,toks{1 }{1 });
172- assert(~ismember(toks{1 }{2 },union({self .attributes .alias }, ...
173- self .names )), ' Duplicate attribute alias `%s `' ,toks{1 }{2 })
171+ assert(length(ix )==1 , ' Attribute `%s ` not found' , toks{1 }{1 });
172+ assert(~ismember(toks{1 }{2 }, union({self .attributes .alias }, ...
173+ self .names )), ' Duplicate attribute alias `%s `' , toks{1 }{2 })
174174 self .attributes(ix ).name = toks{1 }{2 };
175175 self .attributes(ix ).alias = toks{1 }{1 };
176176 else
0 commit comments