Changeset 715 for trunk/src


Ignore:
Timestamp:
Feb 24, 2014, 10:50:48 PM (11 years ago)
Author:
sommeria
Message:

improvements in 'series'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/series.m

    r714 r715  
    521521%------------------------------------------------------------------------
    522522InputTable=get(handles.InputTable,'Data');
     523set(handles.series,'Pointer','watch') % set the mouse pointer to 'watch'
    523524set(handles.REFRESH,'BackgroundColor',[1 1 0])% set REFRESH  button to yellow color (indicate activation)
    524525drawnow
     
    552553end
    553554set(handles.REFRESH,'BackgroundColor',[1 0 0])% set REFRESH  button to red color (indicate activation finished)
     555set(handles.series,'Pointer','arrow') % set the mouse pointer to 'watch'
    554556
    555557%------------------------------------------------------------------------
     
    673675last_j=[];
    674676if isfield(Param.IndexRange,'last_j'); last_j=Param.IndexRange.last_j; end
    675 [i1,i2,j1,j2] = get_file_index(Param.IndexRange.first_i,first_j,Param.IndexRange.PairString);
     677PairString='';
     678if isfield(Param.IndexRange,'PairString'); PairString=Param.IndexRange.PairString; end
     679[i1,i2,j1,j2] = get_file_index(Param.IndexRange.first_i,first_j,PairString);
    676680FirstFileName=fullfile_uvmat(Param.InputTable{1,1},Param.InputTable{1,2},Param.InputTable{1,3},...
    677681    Param.InputTable{1,5},Param.InputTable{1,4},i1,i2,j1,j2);
     
    680684    set(handles.num_first_j,'String',num2str(ref_j))
    681685end
    682 [i1,i2,j1,j2] = get_file_index(Param.IndexRange.last_i,last_j,Param.IndexRange.PairString);
     686[i1,i2,j1,j2] = get_file_index(Param.IndexRange.last_i,last_j,PairString);
    683687LastFileName=fullfile_uvmat(Param.InputTable{1,1},Param.InputTable{1,2},Param.InputTable{1,3},...
    684688    Param.InputTable{1,5},Param.InputTable{1,4},i1,i2,j1,j2);
     
    29092913end
    29102914if strcmp(ActionExt,'.sh')
     2915    set(handles.series,'Pointer','watch') % set the mouse pointer to 'watch'
    29112916    set(handles.ActionExt,'BackgroundColor',[1 1 0])
    29122917    ActionFullName=fullfile(get(handles.ActionPath,'String'),[ActionName '.sh']);
     
    29442949    end
    29452950    set(handles.ActionExt,'BackgroundColor',[1 1 1])
     2951     set(handles.series,'Pointer','arrow') % set the mouse pointer to 'watch
    29462952end
    29472953
Note: See TracChangeset for help on using the changeset viewer.