Changeset 605d944 in sasview for src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
- Timestamp:
- Sep 6, 2018 5:11:49 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:
- fd7ef36
- git-author:
- Piotr Rozyczko <rozyczko@…> (09/06/18 05:10:43)
- git-committer:
- Piotr Rozyczko <rozyczko@…> (09/06/18 05:11:49)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
rfd7ef36 r605d944 968 968 self.has_poly_error_column = False 969 969 970 self.respondToModelStructure(model=model, structure_factor=None) 970 structure = None 971 if self.cbStructureFactor.isEnabled(): 972 structure = str(self.cbStructureFactor.currentText()) 973 self.respondToModelStructure(model=model, structure_factor=structure) 971 974 972 975 def onSelectBatchFilename(self, data_index): … … 1962 1965 # Allow the SF combobox visibility for the given sasmodel 1963 1966 self.enableStructureFactorControl(structure_factor) 1967 if self.cbStructureFactor.isEnabled(): 1968 structure_factor = self.cbStructureFactor.currentText() 1969 self.fromStructureFactorToQModel(structure_factor) 1964 1970 1965 1971 # Then, add multishells … … 2056 2062 Setting model parameters into QStandardItemModel based on selected _structure factor_ 2057 2063 """ 2064 if structure_factor is None or structure_factor=="None": 2065 return 2058 2066 structure_module = generate.load_kernel_module(structure_factor) 2059 2067 structure_parameters = modelinfo.make_parameter_table(getattr(structure_module, 'parameters', []))
Note: See TracChangeset
for help on using the changeset viewer.