Changeset 2d5f7a1 in sasview


Ignore:
Timestamp:
Apr 9, 2009 5:08:54 PM (16 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
56e1202
Parents:
a074145
Message:

remove unused code

File:
1 edited

Legend:

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

    ra074145 r2d5f7a1  
    8888        self.btFit.Bind(wx.EVT_BUTTON, self._onFit,id= self.btFit.GetId()) 
    8989        self.btFit.SetToolTipString("Perform fit.") 
    90          
    91         #self.btStopFit = wx.Button(self,wx.NewId(),'Stop Fit') 
    92         #self.btStopFit.Bind(wx.EVT_BUTTON, self.onStopFit,id= self.btStopFit.GetId()) 
    93         #self.btStopFit.SetToolTipString("Stop Current fit job.") 
    94         #self.btStopFit.Hide() 
     90       
    9591         
    9692        sizer_fit.Add((5,5),1, wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 5)         
    9793        sizer_fit.Add(self.btFit,0, wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 5)  
    98         #sizer_fit.Add(self.btStopFit,1, wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 5)  
    9994         
    10095        sizer_smearer = wx.BoxSizer(wx.HORIZONTAL) 
     
    761756                self.parameters.append([cb,item, ctl1, 
    762757                                        text2,ctl2, ctl3, ctl4,None]) 
    763                 #self.page_info.parameters.append([cb.GetValue(),item, ctl1.GetValue(), 
    764                 #                        text2.IsShown(),[ctl2.IsShown(),ctl2.GetValue()], 
    765                 #[ctl3.IsShown(),ctl3.GetValue()],[ ctl4.IsShown(),ctl4.GetValue()],None]) 
    766                  
     758               
    767759        iy+=1 
    768760        sizer.Add((20,20),(iy,ix),(1,1), wx.LEFT|wx.EXPAND|wx.ADJUST_MINSIZE, 15) 
     
    791783        from sans.models.CylinderModel import CylinderModel 
    792784        model = CylinderModel() 
    793         #from sans.models.LineModel import LineModel 
    794         #model = LineModel() 
     785        
    795786        from danse.common.plottools.plottables import Data1D 
    796787        data= Data1D(x=[1,2], y=[3,4], dy=[0.1, 0,1]) 
Note: See TracChangeset for help on using the changeset viewer.