Ignore:
Timestamp:
Mar 28, 2019 8:22:55 AM (6 years ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_bumps_abstraction, ESS_GUI_opencl
Children:
b8bdbcc, aa47ea5
Parents:
770c42c
Message:

Fixed smearing control behaviour. SASVIEW-1212

File:
1 edited

Legend:

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

    rc149fba re900a47  
    28702870        self.createNewIndex(weighted_data) 
    28712871 
    2872         # Plot residuals if actual data 
    2873         if not self.data_is_loaded: 
    2874             return 
    2875  
    28762872        # Calculate difference between return_data and logic.data 
    28772873        self.chi2 = FittingUtilities.calculateChi2(weighted_data, self.data) 
     
    28792875        chi2_repr = "---" if self.chi2 is None else GuiUtils.formatNumber(self.chi2, high=True) 
    28802876        self.lblChi2Value.setText(chi2_repr) 
     2877 
     2878        # Plot residuals if actual data 
     2879        if not self.data_is_loaded: 
     2880            return 
    28812881 
    28822882        residuals_plot = FittingUtilities.plotResiduals(self.data, weighted_data) 
Note: See TracChangeset for help on using the changeset viewer.