Changeset 10fee37 in sasview for src/sas/qtgui
- Timestamp:
- Aug 13, 2018 6:29:08 AM (6 years ago)
- 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:
- c0de493
- Parents:
- 8dd7b79
- Location:
- src/sas/qtgui/Perspectives/Fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingPerspective.py
r02e7d3a r10fee37 115 115 Add a new tab for passed data 116 116 """ 117 tab = FittingWidget(parent=self.parent, data=data, tab_id=self.maxIndex +1)117 tab = FittingWidget(parent=self.parent, data=data, tab_id=self.maxIndex) 118 118 tab.is_batch_fitting = is_batch 119 119 -
src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
ra2cc8b97 r10fee37 2767 2767 state_reader = Reader(self.loadPageStateCallback) 2768 2768 filepath = self.saveAsAnalysisFile() 2769 if filepath is None :2769 if filepath is None or filepath == "": 2770 2770 return 2771 2771 state_reader.write(filename=filepath, fitstate=state) … … 2819 2819 state.formfactorcombobox = self.cbModel.currentText() 2820 2820 if self.cbStructureFactor.isEnabled(): 2821 state.structure Combobox = self.cbStructureFactor.currentText()2821 state.structurecombobox = self.cbStructureFactor.currentText() 2822 2822 state.tcChi = self.chi2 2823 2823 … … 2851 2851 p = self.model_parameters 2852 2852 # save checkbutton state and txtcrtl values 2853 state.parameters = FittingUtilities.getStandardParam( )2854 state.orientation_params_disp = FittingUtilities.getOrientationParam( )2853 state.parameters = FittingUtilities.getStandardParam(self._model_model) 2854 state.orientation_params_disp = FittingUtilities.getOrientationParam(self.kernel_module) 2855 2855 2856 2856 #self._copy_parameters_state(self.orientation_params_disp, self.state.orientation_params_disp)
Note: See TracChangeset
for help on using the changeset viewer.