Ignore:
Timestamp:
Apr 5, 2013, 1:17:53 PM (11 years ago)
Author:
sommeria
Message:

bugs corrected to get an advancement bar with status

File:
1 edited

Legend:

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

    r596 r605  
    4141function ParamOut=merge_proj(Param)
    4242
    43 %% set the input elements needed on the GUI series when the action is selected in the menu ActionName
     43%% set the input elements needed on the GUI series when the function is selected in the menu ActionName
    4444if isstruct(Param) && isequal(Param.Action.RUN,0)
    4545    ParamOut.AllowInputSort='off';...% allow alphabetic sorting of the list of input file SubDir (options 'off'/'on', 'off' by default)
     
    5252    ParamOut.Mask='off';...%can use mask option   (option 'off'/'on', 'off' by default)
    5353    ParamOut.OutputDirExt='.mproj';%set the output dir extension
     54    ParamOut.OutputFileMode='NbInput';% '=NbInput': 1 output file per input file index, '=NbInput_i': 1 file per input file index i, '=NbSlice': 1 file per slice
     55    filecell=get_file_series(Param);%check existence of the first input file
     56    if ~exist(filecell{1,1},'file')
     57        msgbox_uvmat('WARNING','the first input file does not exist')
     58    elseif isequal(size(Param.InputTable,1),1) && ~isfield(Param,'ProjObject')
     59         msgbox_uvmat('WARNING','a projection object of type plane needs to be introduced for merge_proj')
     60    end
    5461return
    5562end
Note: See TracChangeset for help on using the changeset viewer.