Changeset 771 for trunk/src/series


Ignore:
Timestamp:
May 3, 2014, 5:20:29 PM (10 years ago)
Author:
sommeria
Message:
 
File:
1 edited

Legend:

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

    r765 r771  
    305305    end
    306306end
     307% indicate max and min indices updated from input file series (not stored in Param.ActionInput)
     308set(handles.MaxIndex_i,'String',num2str(MaxIndex_i));
     309set(handles.MinIndex_i,'String',num2str(MinIndex_i));
     310set(handles.MaxIndex_j,'String',num2str(MaxIndex_i));
     311set(handles.MinIndex_j,'String',num2str(MinIndex_i));
    307312
    308313%% set the GUI to modal: wait for OK to close
     
    546551checkbox(6)=get(handles.CheckPatch2,'Value');
    547552ind_selected=find(checkbox,1);
    548 % if ~isempty(ind_selected)
    549 %     RootPath=get(handles.RootPath,'String');
    550 %     if isempty(RootPath)
    551 %         msgbox_uvmat('ERROR','Please open an image or PIV .nc file with the upper bar menu Open/Browse...')
    552 %         return
    553 %     end
    554 % end
    555553set(handles.PairIndices,'Visible','on')
    556 %set(handles.Civ1_ImageB,'Visible','on')
    557 %set(handles.TitleSubdirCiv1,'Visible','on')
    558554if opening==0
    559555    errormsg=find_netcpair_civ(handles,1); % select the available netcdf files
     
    564560if max(checkbox(4:6))% case of civ2 pair choice needed
    565561    set(handles.TitlePairCiv2,'Visible','on')
    566 %    set(handles.TitleSubdirCiv2,'Visible','on')
    567 %    set(handles.Civ2_ImageA,'Visible','on')
    568     %set(handles.ListSubdirCiv2,'Visible','on')
    569562    set(handles.ListPairCiv2,'Visible','on')
    570563    if ~opening
     
    575568    end
    576569else
    577 %    set(handles.TitleSubdirCiv2,'Visible','off')
    578 %    set(handles.Civ2_ImageA,'Visible','off')
    579570    set(handles.ListPairCiv2,'Visible','off')
    580571end
     
    956947mode_value=get(handles.ListPairMode,'Value');
    957948mode=mode_list{mode_value};
     949errormsg='';
    958950if isequal(get(handles.CheckCiv1,'Value'),0)|| isequal(mode,'series(Dj)')
    959951    errormsg=find_netcpair_civ(handles,1);% update the menu of pairs depending on the available netcdf files
     
    963955    errormsg=find_netcpair_civ(handles,2);
    964956end
    965     if ~isempty(errormsg)
     957if ~isempty(errormsg)
    966958    msgbox_uvmat('ERROR',errormsg)
    967     end
     959end
    968960
    969961%------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.