Changeset 7879745 in sasview


Ignore:
Timestamp:
Sep 24, 2018 5:23:43 AM (6 years ago)
Author:
Piotr Rozyczko <piotrrozyczko@…>
Branches:
ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
712db9e
Parents:
96e8e39
Message:

theta and phi may not be present always.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Utilities/GridPanel.py

    r3717470 r7879745  
    311311        # Check if 2D model. If not, remove theta/phi 
    312312        if isinstance(model.data.sas_data, Data1D): 
    313             param_list.remove('theta') 
    314             param_list.remove('phi') 
     313            if 'theta' in param_list: 
     314                param_list.remove('theta') 
     315            if 'phi' in param_list: 
     316                param_list.remove('phi') 
    315317 
    316318        rows = len(data) 
Note: See TracChangeset for help on using the changeset viewer.