Changes in / [f810eb6:4c11b2a] in sasview
- Location:
- src/sas/qtgui/Perspectives/Fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/ConstraintWidget.py
r13ee4d9 r33c0561 958 958 if isBatch: 959 959 self.chkChain.setChecked(is_chain) 960 961 def getReport(self):962 """963 Wrapper for non-existent functionality.964 Tell the user to use the reporting tool965 on separate fit pages.966 """967 msg = "Please use Report Results directly on fit pages"968 msg += " involved in the Constrained and Simultaneous fitting process."969 msgbox = QtWidgets.QMessageBox(self)970 msgbox.setIcon(QtWidgets.QMessageBox.Warning)971 msgbox.setText(msg)972 msgbox.setWindowTitle("Fit Report")973 _ = msgbox.exec_()974 return -
src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
rd4c9242 r17e6a2b 2862 2862 self.createNewIndex(weighted_data) 2863 2863 2864 # Plot residuals if actual data2865 if not self.data_is_loaded:2866 return2867 2868 2864 # Calculate difference between return_data and logic.data 2869 2865 self.chi2 = FittingUtilities.calculateChi2(weighted_data, self.data) … … 2871 2867 chi2_repr = "---" if self.chi2 is None else GuiUtils.formatNumber(self.chi2, high=True) 2872 2868 self.lblChi2Value.setText(chi2_repr) 2869 2870 # Plot residuals if actual data 2871 if not self.data_is_loaded: 2872 return 2873 2873 2874 2874 residuals_plot = FittingUtilities.plotResiduals(self.data, weighted_data)
Note: See TracChangeset
for help on using the changeset viewer.