Skip to content

Commit

Permalink
Formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
ningfei committed Jan 21, 2018
1 parent 23dbc4a commit afde427
Show file tree
Hide file tree
Showing 3 changed files with 133 additions and 140 deletions.
8 changes: 4 additions & 4 deletions ea_addrecentpatient.m
Expand Up @@ -17,18 +17,18 @@ function ea_addrecentpatient(handles,uipatdir,patsub,chosenix)
end

try
fullrpts=[uipatdir';fullrpts];
fullrpts=[uipatdir';fullrpts];
catch % calls from lead_group could end up transposed
try
fullrpts=[uipatdir;fullrpts];
fullrpts=[uipatdir;fullrpts];
catch
fullrpts=[uipatdir;fullrpts'];
fullrpts=[uipatdir;fullrpts'];
end
end

[fullrpts]=unique(fullrpts,'stable');
if length(fullrpts)>10

fullrpts=fullrpts(1:10);
end
[~,nuchosenix]=ismember(chosenix,fullrpts);
Expand Down

0 comments on commit afde427

Please sign in to comment.