Ignore:
Timestamp:
Jun 13, 2012, 6:26:26 PM (12 years ago)
Author:
sommeria
Message:

a few bug corrected

File:
1 edited

Legend:

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

    r454 r455  
    4646
    4747   
    48 function GUI_config=sub_background (Param,get_param)
     48function GUI_config=sub_background (Param)
    4949
    5050%% set the input elements needed on the GUI series when the action is selected in the menu ActionName
     
    6666%% get input parameters, file names and indices
    6767% BATCH  case: read the xml file for batch case
    68 if exist('get_param','var') && isequal(get_param,0)
    69     checkrun=-1; %the function is just used to define to complement the input parameters
    70 elseif ischar(Param) && ~isempty(find(regexp(Param,'.xml$'))) %batch mode
     68if ischar(Param) && ~isempty(find(regexp(Param,'.xml$'))) %batch mode
    7169        Param=xml2struct(Param);
    7270        checkrun=0;
     
    165163
    166164%% set processing parameters
    167 if checkrun ==-1
     165if ~isfield(Param,'Specific')
    168166    prompt = {'volume scan mode (Yes/No)';'Number of images for the sliding background (MUST FIT IN COMPUTER MEMORY)';...
    169167        'the luminosity rank chosen to define the background (0.1=for dense particle seeding, 0.5 (median) for sparse particles'};
     
    203201    GUI_config.CheckLevelTransform=strcmp(answer,'Yes');
    204202   
    205     % return to BATCH mode
    206     if checkrun==-1
     203%     % return to BATCH mode
     204%     if checkrun==-1
    207205        return %transfer to BATCH mode
    208     end
     206%     end
    209207else
    210208    GUI_config=Param.Specific;
Note: See TracChangeset for help on using the changeset viewer.