Ignore:
Timestamp:
Feb 18, 2014, 10:11:11 AM (10 years ago)
Author:
sommeria
Message:

various improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/series/civ_input.m

    r710 r711  
    8787NomTypeInput=Param.InputTable{1,4};
    8888FileExt=Param.InputTable{1,5};
    89 FileType=SeriesData.FileType{1};%type of the first input file series
    90 FileInfo=SeriesData.FileInfo{1};
     89if isfield(SeriesData,'FileType')&&isfield(SeriesData,'FileInfo')
     90    FileType=SeriesData.FileType{1};%type of the first input file series
     91    FileInfo=SeriesData.FileInfo{1};
     92else
     93    msgbox_uvmat('ERROR','please refresh the input file series')
     94    return
     95end
    9196
    9297
     
    333338function errormsg=display_file_name(handles,fileinput)
    334339%------------------------------------------------------------------------
    335 
    336 
    337 %% enable OK, BATCH button and 'status' display
    338 % set(handles.OK, 'Enable','On')
    339 % set(handles.OK,'BackgroundColor',[1 0 0])%set RUN button to red color
    340 % if isfield(handles,'status')
    341 %     set(handles.status,'Value',0);       %suppress the 'status' display
    342 %     status_Callback([], [], handles)
    343 % end
    344 
    345 %% determine nomenclature types and extension of the input files
    346 % [RootPath,SubDir,Civ2_ImageB,i1,i2,j1,j2,ExtInput,NomTypeInput]=fileparts_uvmat(fileinput);
    347 % NomTypeNc='';%default
    348 
    349 
    350340
    351341%% scan the image file series
Note: See TracChangeset for help on using the changeset viewer.