Changeset 469 for trunk/src/find_file_series.m
- Timestamp:
- Jun 22, 2012, 3:45:06 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/find_file_series.m
r468 r469 56 56 switch FileType 57 57 case 'multimage' 58 % NomType='*'; 59 % i1_series=(1:FileInfo.NbFrame)'; 60 NbFrame=FileInfo.NbFrame; 58 NbFrame=FileInfo.NumberOfFrames; 61 59 case {'video','mmreader'} 62 60 NomType='*'; 63 61 NbFrame=FileInfo.NumberOfFrames; 64 % i1_series=(1:FileInfo.NumberOfFrames)';65 62 end 66 % if strcmp( FileType,'multimage')||strcmp( FileType,'video')||strcmp( FileType,'mmreader') 67 % NomType='*'; 68 % i1_series=(1:FileInfo.NumberOfFrames)'; 69 % end 63 70 64 RootFile_i=''; 71 65 NomTypePref=''; … … 91 85 end 92 86 if ~isempty(rr) 93 RootFile_i=[RootFile rr.i1]; 94 % checkpair=~isempty(regexp(NomType,'-','once'))||~isempty(regexp(NomType,'ab$','once'))||~isempty(regexp(NomType,'AB$','once'));%case of PIV results 95 if exist(fullfile(RootPath,SubDir,[RootFile_i '.xml']),'file') || exist(fullfile(RootPath,[RootFile_i '.xml']),'file') 87 RootFile_i=[RootFile rr.i1];% new root file 88 if exist(fullfile(RootPath,SubDir,[RootFile_i '.xml']),'file') || (strcmp(FileExt,'.nc') && exist(fullfile(RootPath,[RootFile_i '.xml']),'file')) 96 89 RootFile=RootFile_i; 97 90 NomTypePref=r.tiretnum;
Note: See TracChangeset
for help on using the changeset viewer.