Ignore:
Timestamp:
Mar 29, 2013, 9:03:29 PM (11 years ago)
Author:
sommeria
Message:

steps further to use series with cluster. Some bsolete functions removed

File:
1 edited

Legend:

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

    r592 r595  
    6363
    6464%%%%%%%%%%%% STANDARD PART (DO NOT EDIT) %%%%%%%%%%%%
     65
     66
    6567%% read input parameters from an xml file if input is a file name (batch mode)
    6668checkrun=1;
     
    157159end
    158160NomTypeOut=NomType;% output file index will indicate the first and last ref index in the series
    159 if checkrun==1
    160     ParamOut.Specific=[];%no specific parameter
    161     return %stop here for interactive input (option Param.Specific='?')
    162 end
     161% if checkrun==1
     162%     ParamOut.Specific=[];%no specific parameter
     163%     return %stop here for interactive input (option Param.Specific='?')
     164% end
    163165
    164166%% Set field names and velocity types
     
    174176    %%%%%%%%%%%%%%%% loop on field indices %%%%%%%%%%%%%%%%
    175177    for index=index_slice
    176  
    177178        if checkrun
    178             update_waitbar(hseries.Waitbar,index/(nbfield))
    179             stopstate=get(hseries.RUN,'BusyAction');
     179            stopstate=get(Param.RUNHandle,'BusyAction');
     180            update_waitbar(Param.WaitbarHandle,index/nbfield)
    180181        else
    181182            stopstate='queue';
    182183        end
    183        
     184        if ~isequal(stopstate,'queue')% enable STOP command
     185            return
     186        end
    184187        %%%%%%%%%%%%%%%% loop on views (input lines) %%%%%%%%%%%%%%%%
    185188        Data=cell(1,nbview);%initiate the set Data
Note: See TracChangeset for help on using the changeset viewer.