Changeset 895e7359 in sasview for src/sas/qtgui/Perspectives/Fitting
- Timestamp:
- Oct 27, 2017 3:42:57 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:
- 99ea1b0
- Parents:
- b0b09b9
- Location:
- src/sas/qtgui/Perspectives/Fitting
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingUtilities.py
- Property mode changed from 100755 to 100644
rb0b09b9 r895e7359 156 156 """ 157 157 for i, item in enumerate(model_header_captions): 158 #model.setHeaderData(i, QtCore.Qt.Horizontal, QtCore.QVariant(item))159 158 model.setHeaderData(i, QtCore.Qt.Horizontal, item) 160 159 -
src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
- Property mode changed from 100755 to 100644
rb0b09b9 r895e7359 989 989 if not dict: 990 990 return 991 if self._model_model.rowCount() == 0: 992 return 991 993 992 994 def iterateOverMagnetModel(func): … … 1000 1002 # Utility function for main model update 1001 1003 # internal so can use closure for param_dict 1004 if self._magnet_model.item(row, 0) is None: 1005 return 1002 1006 param_name = str(self._magnet_model.item(row, 0).text()) 1003 1007 if param_name not in list(param_dict.keys()): -
src/sas/qtgui/Perspectives/Fitting/ModelThread.py
- Property mode changed from 100755 to 100644
rb0b09b9 r895e7359 53 53 self.starttime = time.time() 54 54 # Determine appropriate q range 55 if self.qmin ==None:55 if self.qmin is None: 56 56 self.qmin = 0 57 if self.qmax ==None:58 if self.data !=None:57 if self.qmax is None: 58 if self.data is not None: 59 59 newx = math.pow(max(math.fabs(self.data.xmax), 60 60 math.fabs(self.data.xmin)), 2)
Note: See TracChangeset
for help on using the changeset viewer.