Changeset 3ae70f9 in sasview for src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
- Timestamp:
- Sep 17, 2018 10:17:08 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:
- 5990185
- Parents:
- 9f4eaeb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
r305114c r3ae70f9 2435 2435 new_plots.append(residuals) 2436 2436 2437 model = return_data.get('model', None) 2438 for plot in FittingUtilities.plotPolydispersities( 2439 model, POLYDISPERSITY_MODELS): 2440 data_id = fitted_data.id.split() 2441 plot.id = " ".join([data_id[0], plot.name] + data_id[1:]) 2442 data_name = fitted_data.name.split() 2443 plot.name = " ".join([data_name[0], plot.name] + data_name[1:]) 2444 self.createNewIndex(plot) 2445 new_plots.append(plot) 2446 2437 2447 if self.data_is_loaded: 2438 # delete any plots associated with the data that were not updated (e.g. to remove beta(Q), S_eff(Q)) 2448 # delete any plots associated with the data that were not updated 2449 # (e.g. to remove beta(Q), S_eff(Q)) 2439 2450 GuiUtils.deleteRedundantPlots(self.all_data[self.data_index], new_plots) 2440 2451 pass 2441 2452 else: 2442 # delete theory items for the model, in order to get rid of any redundant items, e.g. beta(Q), S_eff(Q) 2453 # delete theory items for the model, in order to get rid of any 2454 # redundant items, e.g. beta(Q), S_eff(Q) 2443 2455 self.communicate.deleteIntermediateTheoryPlotsSignal.emit(self.kernel_module.id) 2444 2456
Note: See TracChangeset
for help on using the changeset viewer.