- Timestamp:
- Sep 25, 2018 4:31:42 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- 6ae7466
- Parents:
- 8b6e4be
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
r9d130f3 r8a09457 2493 2493 self.enableInteractiveElements() 2494 2494 if return_data is None: 2495 self.calculateDataFailed("Results not available.")2496 2495 return 2497 2496 fitted_data = self.logic.new1DPlot(return_data, self.tab_id) … … 2545 2544 self.enableInteractiveElements() 2546 2545 2546 if return_data is None: 2547 return 2548 2547 2549 fitted_data = self.logic.new2DPlot(return_data) 2550 # assure the current index is set properly for batch 2551 if len(self._logic) > 1: 2552 for i, logic in enumerate(self._logic): 2553 if logic.data.name in fitted_data.name: 2554 self.data_index = i 2555 2548 2556 residuals = self.calculateResiduals(fitted_data) 2549 2557 self.model_data = fitted_data
Note: See TracChangeset
for help on using the changeset viewer.