Changeset b5cc06e in sasview


Ignore:
Timestamp:
May 3, 2018 9:34:22 AM (7 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
80468f6
Parents:
aed0532
Message:

iqxy_parameters are no longer available

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Fitting/FittingUtilities.py

    rd4dac80 rb5cc06e  
    6868    multishell_parameters = getIterParams(parameters) 
    6969    multishell_param_name, _ = getMultiplicity(parameters) 
    70     params = parameters.iqxy_parameters if is2D else parameters.iq_parameters 
     70    if is2D: 
     71        params = [p for p in parameters.kernel_parameters if p.type != 'magnetic'] 
     72    else: 
     73        params = parameters.iq_parameters 
    7174    item = [] 
    7275    for param in params: 
     
    125128    Update local ModelModel with sasmodel parameters 
    126129    """ 
    127     params = parameters.iqxy_parameters if is2D else parameters.iq_parameters 
     130    if is2D: 
     131        params = [p for p in parameters.kernel_parameters if p.type != 'magnetic'] 
     132    else: 
     133        params = parameters.iq_parameters 
    128134    item = [] 
    129135    for param in params: 
Note: See TracChangeset for help on using the changeset viewer.