Changeset 1120 for trunk/src/series.m


Ignore:
Timestamp:
Dec 15, 2022, 6:21:53 PM (22 months ago)
Author:
sommeria
Message:

various corrections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/series.m

    r1119 r1120  
    621621ActionInput_Callback([],[], handles)
    622622
    623 
     623%------------------------------------------------------------------------
     624% --- check the input file series.
    624625function check_input_file_series(handles)
     626%------------------------------------------------------------------------
    625627InputTable=get(handles.InputTable,'Data');
    626628set(handles.series,'Pointer','watch') % set the mouse pointer to 'watch'
     
    629631empty_line=false(size(InputTable,1),1);
    630632for iline=1:size(InputTable,1)
    631     empty_line(iline)= isempty(cell2mat(InputTable(iline,1:3)));
     633    empty_line(iline)= isempty(cell2mat(InputTable(iline,1:3)));%check the empty lines in the input table
    632634end
    633635if ~isempty(find(empty_line,1))
     
    649651        RootFile='';
    650652    else %scan the input folder
    651         InputTable{iview,3}=regexprep(InputTable{iview,3},'^/','');
     653        InputTable{iview,3}=regexprep(InputTable{iview,3},'^/','');%suppress '/' at the beginning of the input name
     654        i1=str2num(get(handles.num_first_i,'String'));
     655        j1=str2num(get(handles.num_first_j,'String'));
     656        InputFile=fullfile_uvmat('','',InputTable{iview,3},InputTable{iview,5},InputTable{iview,4},i1,[],j1,[])
    652657            [RootPath,~,RootFile,i1_series,i2_series,j1_series,j2_series,tild,FileInfo,MovieObject]=...
    653                 find_file_series(fullfile(InputTable{iview,1},InputTable{iview,2}),[InputTable{iview,3} InputTable{iview,4} InputTable{iview,5}]);
     658                find_file_series(fullfile(InputTable{iview,1},InputTable{iview,2}),InputFile);
    654659    end
    655660    % if no file is found, open a browser
Note: See TracChangeset for help on using the changeset viewer.