Skip to content
Snippets Groups Projects
Commit c9a05b5b authored by Mark Winter's avatar Mark Winter
Browse files

Fixed directory search in SegAndTrackFolders.

parent daf28fa8
No related branches found
No related tags found
No related merge requests found
......@@ -53,6 +53,10 @@ if ( exist('maxProcessors','var') )
end
dlist=dir(directory_name);
bInvalidName = arrayfun(@(x)(strncmpi(x.name,'.',1) || strncmpi(x.name,'..',2)), dlist);
bValidDir = ~bInvalidName & (vertcat(dlist.isdir) > 0);
dlist = dlist(bValidDir);
for dd=1:length(dlist)
if ( ~(dlist(dd).isdir) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment