Changeset 47f2b5d in sasview for src/sas/sasgui/perspectives


Ignore:
Timestamp:
Oct 8, 2016 3:21:58 PM (8 years ago)
Author:
wojciech
Branches:
master, 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, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
4ed199e
Parents:
2abe6bf
Message:

Skipping extra Iq evaluation by not calling draw_model function from set polydisperisty parameters routine, ref #624 and #576

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/fitting/basepage.py

    r2abe6bf r47f2b5d  
    10381038            dispersity = self.disp_box.GetClientData(n) 
    10391039            name = dispersity.__name__ 
    1040  
    10411040            self._set_dipers_Param(event=None) 
    10421041 
     
    22902289            wx.PostEvent(self.parent, event) 
    22912290        #draw the model with the current dispersity 
    2292         self._draw_model() 
     2291 
     2292        #Wojtek P, Oct 8, 2016: Calling draw_model seems to be unessecary. 
     2293        #By comenting it we save an extra Iq calculation 
     2294        #self._draw_model() 
     2295 
    22932296        ## Need to use FitInside again here to replace the next four lines. 
    22942297        ## Otherwised polydispersity off does not resize the scrollwindow. 
Note: See TracChangeset for help on using the changeset viewer.