Ignore:
Timestamp:
Aug 24, 2018 3:46:36 AM (6 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
4fd19be
Parents:
54492dc
Message:

Improve error handling in Chi2 calculations.
Improve bad input communication in Fit Algorithms
SASVIEW-988

File:
1 edited

Legend:

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

    rf7d39c9 rff3b293  
    265265    Calculate Chi2 value between two sets of data 
    266266    """ 
    267  
     267    if reference_data is None or current_data is None: 
     268        return None 
    268269    # WEIGHING INPUT 
    269270    #from sas.sasgui.perspectives.fitting.utils import get_weight 
Note: See TracChangeset for help on using the changeset viewer.