Changeset f7d14a1 in sasview for src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
- Timestamp:
- Oct 25, 2017 4:23:01 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:
- dc57b4f, 02f1d12, fca1f50
- Parents:
- d3475fe
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
rd3475fe rf7d14a1 146 146 def data(self, value): 147 147 """ data setter """ 148 # Value is either a list of indices for batch fitting or a simple index 149 # for standard fitting. Assure we have a list, regardless. 148 150 if isinstance(value, list): 149 151 self.is_batch_fitting = True … … 159 161 160 162 # Update logics with data items 163 # Logics.data contains only a single Data1D/Data2D object 161 164 self.logic.data = GuiUtils.dataFromItem(value[0]) 162 165 … … 164 167 self.is2D = True if isinstance(self.logic.data, Data2D) else False 165 168 169 # Let others know we're full of data now 166 170 self.data_is_loaded = True 167 171 … … 357 361 358 362 # Reload the model 359 363 self.onSelectModel() 360 364 361 365 # Smearing tab
Note: See TracChangeset
for help on using the changeset viewer.