Changeset 484


Ignore:
Timestamp:
Jun 27, 2012, 12:40:43 AM (12 years ago)
Author:
sommeria
Message:

bugs removed for windows OS

Location:
trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/civ.m

    r483 r484  
    8282if isfield(sparam,'BatchParam') && isfield(sparam.BatchParam,'BatchMode')
    8383    batch_mode=sparam.BatchParam.BatchMode; %sge is currently the only implemented batch mod
     84    test_command='';
    8485    switch batch_mode
    8586        case 'sge'
     
    8889            test_command='oarstat';
    8990    end
     91    if ~isempty(test_command)
    9092    [s,w]=system(test_command);
    9193    if isequal(s,0)
    9294        test_batch=1;
     95    end
    9396    end
    9497end
  • trunk/src/find_file_series.m

    r483 r484  
    232232
    233233%% introduce the frame index in case of movies or multimage type
    234 if isfield(FileInfo,'NumberOfFrames')>1 && FileInfo.NumberOfFrames >1
     234if isfield(FileInfo,'NumberOfFrames') && FileInfo.NumberOfFrames >1
     235    'TEST'
    235236    if isempty(i1_series)
    236237        i1_series=(1:FileInfo.NumberOfFrames)';
  • trunk/src/uvmat.m

    r483 r484  
    853853    return
    854854end
    855 nbfield=[];%default
    856 nbfield_j=[];%default
     855% nbfield=[];%default
     856% nbfield_j=[];%default
    857857
    858858%% read timing and total frame number from the current file (movie files) !! may be overrid by xml file
     
    868868    imainfo=get(VideoObject);
    869869    testima=1;
    870     nbfield_j=1;
     870%     nbfield_j=1;
    871871    TimeUnit='s';
    872872    XmlData.Time=(0:1/imainfo.FrameRate:(imainfo.NumberOfFrames-1)/imainfo.FrameRate)';
    873     % %         nbfield=imainfo.NumberOfFrames;
     873    %nbfield=imainfo.NumberOfFrames;
    874874    set(handles.Dt_txt,'String',['Dt=' num2str(1000/imainfo.FrameRate) 'ms']);%display the elementary time interval in millisec
    875875    ColorType='truecolor';
     
    884884    ColorType=imainfo.ColorType;%='truecolor' for color images
    885885    if length(imainfo) >1 %case of image with multiple frames
    886         nbfield=length(imainfo);
    887         nbfield_j=1;
     886       % nbfield=length(imainfo);
     887       % nbfield_j=1;
    888888    end
    889889end
Note: See TracChangeset for help on using the changeset viewer.