Ignore:
Timestamp:
Jun 26, 2012, 8:41:27 AM (12 years ago)
Author:
sommeria
Message:

series fcts updated to fit with new waitbar fct and background run mode, and various bug repairs

File:
1 edited

Legend:

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

    r474 r478  
    7373else
    7474    hseries=guidata(Param.hseries);%handles of the GUI series
    75     WaitbarPos=get(hseries.waitbar_frame,'Position');%position of the waitbar on the GUI series
    7675    if isfield(Param,'Specific')&& strcmp(Param.Specific,'?')
    7776        checkrun=1;% will only search interactive input parameters (preparation of BATCH mode)
     
    139138%% coordinate transform or other user defined transform
    140139transform_fct='';%default
    141 if isfield(Param,'FieldTransform')
     140if isfield(Param,'FieldTransform')&&~isempty(Param.FieldTransform.TransformName)
    142141    addpath(Param.FieldTransform.TransformPath)
    143142    transform_fct=str2func(Param.FieldTransform.TransformName);
     
    183182 
    184183        if checkrun
    185             update_waitbar(hseries.waitbar_frame,WaitbarPos,index/(nbfield))
     184            update_waitbar(hseries.Waitbar,index/(nbfield))
    186185            stopstate=get(hseries.RUN,'BusyAction');
    187186        else
     
    213212            end
    214213            % field calculation (vort, div...)
    215             if strcmp(FileType{iview},'civx')||strcmp(FileType{iview},'civ')
     214            if strcmp(FileType{iview},'civx')||strcmp(FileType{iview},'civdata')
    216215                Data{iview}=calc_field(Param.InputFields.FieldName,Data{iview});%calculate field (vort..)
    217216            end
Note: See TracChangeset for help on using the changeset viewer.