Changeset 3ddc2c4 in sasview


Ignore:
Timestamp:
Jun 22, 2011 5:30:19 PM (13 years ago)
Author:
Jae Cho <jhjcho@…>
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, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
ee1ecc57
Parents:
ddb0fe76
Message:

working on wx2.9

Location:
sansview/perspectives/fitting
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/fitpage.py

    r8c6a0b9 r3ddc2c4  
    10151015        bind the fit button to either fit handler or stop fit handler 
    10161016        """ 
    1017         print "bind" 
    1018          
    10191017        self.btFit.Unbind(event=wx.EVT_BUTTON, id= self.btFit.GetId()) 
    1020         print "unbind" 
    10211018        if self.btFit.GetLabel().lower() == "stop": 
    10221019            self.fit_started = True 
     
    10241021            self.btFit.Bind(event=wx.EVT_BUTTON, handler=self._StopFit, 
    10251022                             id=self.btFit.GetId()) 
    1026             print "bind00" 
    10271023        elif self.btFit.GetLabel().lower() == "fit": 
    10281024            self.fit_started = False 
     
    10451041        Stop fit  
    10461042        """ 
    1047         time.sleep(0.1) 
     1043        #time.sleep(0.1) 
    10481044        if event != None: 
    10491045            event.Skip() 
  • sansview/perspectives/fitting/fitting.py

    rddb0fe76 r3ddc2c4  
    476476                msg = "Fit stop!" 
    477477                wx.PostEvent(self.parent, StatusEvent(status=msg, type="stop")) 
    478             if uid in self.fit_thread_list.keys(): 
    479                 print "uid", uid 
    480                 del self.fit_thread_list[uid] 
     478            del self.fit_thread_list[uid] 
    481479        #set the fit button label of page when fit stop is trigger from 
    482480        #simultaneous fit pane 
Note: See TracChangeset for help on using the changeset viewer.