Ignore:
Timestamp:
May 8, 2018 2:23:59 AM (6 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:
acd9c311, bac81f4, fca1f50
Parents:
42787fb
Message:

Minor stability fixes for some calculators

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Calculators/SlitSizeCalculator.py

    raed0532 rfa05c6c1  
    115115            xdata = data.x 
    116116            ydata = data.y 
    117             #if xdata == [] or xdata is None or ydata == [] or ydata is None: 
    118             if (not xdata or xdata is None) or (not ydata or ydata is None): 
     117            if xdata == [] or xdata is None or ydata == [] or ydata is None: 
    119118                msg = "The current data is empty please check x and y" 
    120119                logging.error(msg) 
Note: See TracChangeset for help on using the changeset viewer.