- Timestamp:
- Jun 18, 2016, 11:25:35 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/find_imadoc.m
r924 r952 53 53 end 54 54 end 55 if ~exist(XmlFileName,'file')% convention Pierre Augier for 3D images 56 check3D=find(~isempty(regexp(SubDirBase,'^level'))); 57 if check3D 58 [RootRootPath,RootDir]=fileparts(RootPath); 59 XmlFileName=fullfile(RootRootPath,[RootDir '.xml']); 60 dotchar=regexp(RootDir,'\.'); 61 for idot=1:numel(dotchar) 62 XmlFileName=fullfile(RootRootPath,[RootDir(1:dotchar(end-idot+1)-1) '.xml']); 63 if exist(XmlFileName,'file') 64 break 65 end 66 end 67 end 68 end 55 69 if exist(XmlFileName,'file')~=2 56 70 XmlFileName='';
Note: See TracChangeset
for help on using the changeset viewer.