Changeset fe9cb70e in sasview for sansguiframe


Ignore:
Timestamp:
Jun 4, 2012 3:27:30 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:
0371eae
Parents:
ed09638
Message:

fixing pylint warnings

Location:
sansguiframe/src/sans/guiframe
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sansguiframe/src/sans/guiframe/data_state.py

    r8c347a6 rfe9cb70e  
    3535            _str += "Data name : %s \n" % str(self.data.name) 
    3636            _str += "Data ID : %s \n" % str(self.data.id) 
    37         else: 
    38             _str += "Theory Data: %s \n" % str(self.theory_data) 
    39         if self.theory_data is not None: 
    40             _str += "Data name : %s \n" % str(self.theory_data.name) 
    41             _str += "Theory Data ID : %s \n" % str(self.theory_data.id) 
    42         else: 
    43             _str += "Theory Data: %s \n" % str(self.theory_data) 
    44              
    4537        _str += "Theories available: %s \n" % len(self.theory_list) 
    4638        if self.theory_list: 
  • sansguiframe/src/sans/guiframe/local_perspectives/plotting/Arc.py

    rbc2db41 rfe9cb70e  
    5050        self.clear_markers() 
    5151        try: 
    52             self.marker.remove() 
     52            for item in self.markers: 
     53                item.remove() 
    5354            self.arc.remove() 
    5455        except: 
     
    161162        """ 
    162163        x = params["radius"]  
    163         self.set_cursor(x, self._mouse_y) 
     164        phi_max = self.theta2 
     165        nbins = self.npts 
     166        self.set_cursor(x, self._mouse_y, phi_max, nbins) 
    164167         
    165168     
Note: See TracChangeset for help on using the changeset viewer.