Changeset 871 for trunk/src/get_file_series.m
- Timestamp:
- Feb 16, 2015, 12:15:23 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/get_file_series.m
r863 r871 60 60 Param.IndexRange.PairString={Param.IndexRange.PairString}; 61 61 end 62 if ~isempty(Param.IndexRange.PairString{iview,1})63 r=regexp(Param.IndexRange.PairString{iview,1},'(?<mode>(Di=)|(Dj=)) -*(?<num1>\d+)\|(?<num2>\d+)','names');%look for mode=Dj or Di64 if isempty(r)65 r=regexp(Param.IndexRange.PairString{iview,1},'(?<num1>\d+)(?<mode>-)(?<num2>\d+)','names');%look for burst pairs66 end62 if size(Param.IndexRange.PairString,1)>=iview && ~isempty(Param.IndexRange.PairString{iview,1}) 63 r=regexp(Param.IndexRange.PairString{iview,1},'(?<mode>(Di=)|(Dj=)) -*(?<num1>\d+)\|(?<num2>\d+)','names');%look for mode=Dj or Di 64 if isempty(r) 65 r=regexp(Param.IndexRange.PairString{iview,1},'(?<num1>\d+)(?<mode>-)(?<num2>\d+)','names');%look for burst pairs 66 end 67 67 end 68 68 % TODO case of free pairs: … … 72 72 r(1).num1=''; 73 73 r(1).num2=''; 74 if isfield (Param.IndexRange,'PairString') && strcmp(Param.IndexRange.PairString{iview,1},'j=*-*') 74 if isfield (Param.IndexRange,'PairString') && size(Param.IndexRange.PairString,1)>=iview &&... 75 strcmp(Param.IndexRange.PairString{iview,1},'j=*-*') 75 76 r(1).mode='*-*'; 76 77 else
Note: See TracChangeset
for help on using the changeset viewer.