Ignore:
Timestamp:
Mar 11, 2012, 11:47:21 AM (12 years ago)
Author:
sommeria
Message:

pb with masks corrected
bug in fileparts_uvmat corrected
find_file_series corrected so that it finds the root name corresponding tothe existing xml file : for instance Dalsa1_0001 gives root=Dalsa1 instead of Dalsa
bug corrected in uvmat, runpm (j1 and j2 set to 1 when not visible)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/fileparts_uvmat.m

    r379 r384  
    9393            end
    9494            NomType=[get_type(num3) delim2 get_type(num2) delim1 get_type(num1)];
    95             RootFile=regexprep(FileName,[num3 delim2 num2 delim1 num1],'');
     95            RootFile=regexprep(FileName,[num3 delim2 num2 delim1 num1 '$'],'');
    9696        else
    9797            switch delim1
     
    110110        i1=str2double(num1);
    111111        NomType=get_type(num1);
    112         RootFile=regexprep(FileName,num1,'');
     112        RootFile=regexprep(FileName,[num1 '$'],'');
    113113    end
    114114else% FileName ends with a letter
Note: See TracChangeset for help on using the changeset viewer.