Changeset 5aad7a5 in sasview for src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
- Timestamp:
- Sep 5, 2018 5:53:11 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:
- f7e7e20
- Parents:
- f4aa7a8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
rf4aa7a8 r5aad7a5 2304 2304 residuals = self.calculateResiduals(fitted_data) 2305 2305 self.model_data = fitted_data 2306 2307 new_plots = [fitted_data, residuals] 2306 new_plots = [fitted_data] 2307 if residuals is not None: 2308 new_plots.append(residuals) 2308 2309 2309 2310 # Create plots for intermediate product data … … 2323 2324 GuiUtils.deleteRedundantPlots(self.all_data[self.data_index], new_plots) 2324 2325 2326 # Update/generate plots 2325 2327 for plot in new_plots: 2326 if hasattr(plot, "id") and "esidual" in plot.id: 2327 # TODO: fix updates to residuals plot 2328 pass 2329 elif plot is not None: 2330 self.communicate.plotUpdateSignal.emit([plot]) 2328 self.communicate.plotUpdateSignal.emit([plot]) 2331 2329 2332 2330 def complete2D(self, return_data):
Note: See TracChangeset
for help on using the changeset viewer.