Changeset c6343a5 in sasview for src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
- Timestamp:
- Jan 25, 2018 10:00:20 AM (7 years ago)
- 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:
- 17968c3
- Parents:
- 116dd4c1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
r116dd4c1 rc6343a5 1086 1086 1087 1087 # Prepare the fitter object 1088 fitters, _ = self.prepareFitters() 1088 try: 1089 fitters, _ = self.prepareFitters() 1090 except ValueError as ex: 1091 # This should not happen! GUI explicitly forbids this situation 1092 self.communicate.statusBarUpdateSignal.emit('Fitting attempt without parameters.') 1093 return 1089 1094 1090 1095 # Create the fitting thread, based on the fitter … … 1200 1205 qmax = self.q_range_max 1201 1206 params_to_fit = self.parameters_to_fit 1207 if (not params_to_fit): 1208 raise ValueError('Fitting requires at least one parameter to optimize.') 1202 1209 1203 1210 # Potential weights added directly to data
Note: See TracChangeset
for help on using the changeset viewer.