Changeset 342 for trunk/src/find_file_series.m
- Timestamp:
- Dec 20, 2011, 5:14:43 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/find_file_series.m
r339 r342 143 143 break 144 144 end 145 else 146 ref_j=j1; 147 if isempty(j2_input) 148 if ~isempty(j2)% invalid file name if j2 does not exist in the input file 149 break 145 else %j1_input is not empty 146 if isempty(j1)% the detected name does not fit with the input 147 break 148 else 149 ref_j=j1; 150 if isempty(j2_input) 151 if ~isempty(j2)% invalid file name if j2 does not exist in the input file 152 break 153 end 154 else 155 ref_j=floor((j1+j2)/2); 150 156 end 151 else152 ref_j=floor((j1+j2)/2);153 157 end 154 158 end
Note: See TracChangeset
for help on using the changeset viewer.