Changeset 9c0ce68 in sasview
- Timestamp:
- Jan 26, 2018 8:26:42 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:
- 63319b0
- Parents:
- 17968c3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
rc6343a5 r9c0ce68 880 880 pass 881 881 882 def respondToModelStructure(self, model=None, structure_factor=None): 883 # Set enablement on calculate/plot 884 self.cmdPlot.setEnabled(True) 885 886 # kernel parameters -> model_model 887 self.SASModelToQModel(model, structure_factor) 888 882 def updateData(self): 883 """ 884 Helper function for recalculation of data used in plotting 885 """ 886 # Update the chart 889 887 if self.data_is_loaded: 890 888 self.cmdPlot.setText("Show Plot") … … 894 892 # Create default datasets if no data passed 895 893 self.createDefaultDataset() 894 895 def respondToModelStructure(self, model=None, structure_factor=None): 896 # Set enablement on calculate/plot 897 self.cmdPlot.setEnabled(True) 898 899 # kernel parameters -> model_model 900 self.SASModelToQModel(model, structure_factor) 901 902 # Update plot 903 self.updateData() 896 904 897 905 # Update state stack … … 973 981 # name of the function - just pass 974 982 return 975 elif model_column == self.lstPoly.itemDelegate().poly_filename:976 # filename for array - just pass977 return978 983 else: 979 984 try: … … 987 992 self.kernel_module.setParam(parameter_name + '.' + \ 988 993 self.lstPoly.itemDelegate().columnDict()[model_column], value) 994 995 # Update plot 996 self.updateData() 989 997 990 998 def onMagnetModelChange(self, item):
Note: See TracChangeset
for help on using the changeset viewer.