Changeset fd7ef36 in sasview for src/sas/qtgui/Perspectives


Ignore:
Timestamp:
Sep 6, 2018 4:53:39 AM (6 years ago)
Author:
Torin Cooper-Bennun <torin.cooper-bennun@…>
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:
605d944
Parents:
2df558e
Message:

delete intermediate theory-only plots after model evaluation, before adding current ones

this applies only to beta approximation, whereby plots such as beta(Q)
and S_eff(Q) may be removed between calculations. however, since it does
not affect behaviour otherwise, I am pushing to ESS_GUI to ensure no
later conflicts occur

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Fitting/FittingWidget.py

    r444c221c rfd7ef36  
    23032303            new_plots.append(residuals) 
    23042304 
     2305        if self.data_is_loaded: 
     2306            GuiUtils.deleteRedundantPlots(self.all_data[self.data_index], new_plots) 
     2307        else: 
     2308            # delete theory items for the model, in order to get rid of any redundant items, e.g. beta(Q), S_eff(Q) 
     2309            self.communicate.deleteIntermediateTheoryPlotsSignal.emit(self.kernel_module.id) 
     2310 
    23052311        # Create plots for intermediate product data 
    23062312        pq_data, sq_data = self.logic.new1DProductPlots(return_data, self.tab_id) 
     
    23152321            # self.communicate.plotUpdateSignal.emit([sq_data]) 
    23162322            new_plots.append(sq_data) 
    2317  
    2318         if self.data_is_loaded: 
    2319             GuiUtils.deleteRedundantPlots(self.all_data[self.data_index], new_plots) 
    23202323 
    23212324        # Update/generate plots 
Note: See TracChangeset for help on using the changeset viewer.