Changeset 7d514fc in sasview for fittingview/src


Ignore:
Timestamp:
May 24, 2012 4:40:45 PM (12 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:
f71625f
Parents:
7b7ff27
Message:

removed some pylint warning 3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fittingview/src/sans/perspectives/fitting/basepage.py

    r7b7ff27 r7d514fc  
    100100        self.dx_min = None 
    101101        self.dx_max = None 
    102         ##semar attrs 
     102        ##semar attrbs 
    103103        self.enable_smearer = None 
    104104        self.disable_smearer = None 
    105105        self.pinhole_smearer = None 
    106106        self.slit_smearer = None 
    107         ##weigth attrs 
     107        ##weigth attrbs 
    108108        self.dI_noweight = None 
    109109        self.dI_didata = None 
    110110        self.dI_sqrdata = None 
    111111        self.dI_idata = None 
     112        ##other attrbs 
     113        self.dq_l = None 
     114        self.dq_r = None 
     115        self.tcChi = None 
     116        self.disp_box = None 
     117        self.Npts_fit = None 
     118        self.theory_qmin = None  
     119        self.theory_qmax = None 
    112120        
    113121        self.disp_cb_dict = {} 
     
    963971        self.state.dI_sqrdata = copy.deepcopy(self.dI_sqrdata.GetValue()) 
    964972        self.state.dI_idata = copy.deepcopy(self.dI_idata.GetValue()) 
    965         if hasattr(self, "disp_box"): 
     973        if hasattr(self, "disp_box") and self.disp_box != None: 
    966974            self.state.disp_box = self.disp_box.GetCurrentSelection() 
    967975 
     
    10651073        self.disable_disp.SetValue(state.disable_disp) 
    10661074         
    1067         if hasattr(self, "disp_box"): 
     1075        if hasattr(self, "disp_box") and self.disp_box != None: 
    10681076            self.disp_box.SetSelection(state.disp_box) 
    10691077            n = self.disp_box.GetCurrentSelection() 
Note: See TracChangeset for help on using the changeset viewer.