Ignore:
Timestamp:
Jul 19, 2012, 11:50:39 AM (12 years ago)
Author:
sommeria
Message:

various bugs corrected after testing in Windows OS. Introduction
of filter tps

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/find_file_series.m

    r485 r494  
    216216    else
    217217        [tild,ifile_min]=min(ref_ij(ind_select));
    218         [tild,tild,tild,tild,tild,tild,tild,tild,NomType]=fileparts_uvmat(dirpair(ifile_min).name);% update the representation of indices (number of 0 before the number)
     218        [tild,tild,tild,tild,tild,tild,tild,tild,NomType]=fileparts_uvmat(dirpair(ind_select(ifile_min)).name);% update the representation of indices (number of 0 before the number)
    219219        NomType=regexprep(NomType,['^' NomTypePref],'');
    220220    end
     
    238238        NomType='*';
    239239    else
    240         j1_series=(1:FileInfo.NumberOfFrames)';
     240        i1_series=i1_series(:,2)*ones(1,FileInfo.NumberOfFrames);
     241        i1_series=[i1_series(:,1) i1_series];
     242        j1_series=ones(size(i1_series,1),1)*(0:FileInfo.NumberOfFrames);
    241243        %  include the first index in the root name
    242244        r=regexp(NomType,'^(?<tiretnum>_?\d+)','names');%look for a number or _1 at the beginning of NomType
Note: See TracChangeset for help on using the changeset viewer.