Changeset 3fc01c5 in sasview


Ignore:
Timestamp:
Jun 4, 2012 7:11:09 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:
c05234f
Parents:
dacf52f
Message:

fixing pylint warnings

Files:
9 edited

Legend:

Unmodified
Added
Removed
  • sanscalculator/src/sans/calculator/resolution_calculator.py

    r8a621ac r3fc01c5  
    766766        Set wavelength and its spread list 
    767767        """ 
    768         self.wave.set_wave_list(wavelength_list, wavelengthspread_list) 
     768        self.wave.set_wave_list(wavelength_list) 
     769        self.wave.set_wave_spread_list(wavelengthspread_list) 
    769770     
    770771    def get_wave_list(self): 
  • sansdataloader/src/sans/dataloader/loader.py

    rf60a8c2 r3fc01c5  
    230230        except: 
    231231            msg = "Loader: Error accessing Reader " 
    232             msg += "in %s\n  %s" % (module.__name__, sys.exc_value) 
     232            msg += "in %s\n  %s" % (loader.__name__, sys.exc_value) 
    233233            logging.error(msg) 
    234234        return reader_found 
  • sansguiframe/src/sans/guiframe/dummyapp.py

    r6df04e43 r3fc01c5  
    9999        return [["Menu text",  
    100100                 "Tool-tip help text",  
    101                  self._on_context_do_something]]    
     101                 "self._on_context_do_something"]]    
    102102 
    103103class SansView(): 
  • sansguiframe/src/sans/guiframe/gui_statusbar.py

    r940aca7 r3fc01c5  
    231231    def PushStatusText(self, *args, **kwds): 
    232232        """ 
    233         """ 
    234         wxStatusB.PushStatusText(self, field=MSG_POSITION, string=string) 
     233        PushStatusText 
     234        """ 
     235        text = "PushStatusText: What is this string?" 
     236        wxStatusB.PushStatusText(self, field=MSG_POSITION, string=text) 
    235237         
    236238    def enable_clear_gauge(self): 
  • sansguiframe/src/sans/guiframe/local_perspectives/plotting/boxMask.py

    rdb7a82e r3fc01c5  
    3535        self.markers = [] 
    3636        self.axes = axes 
     37        self.mask = None 
    3738        self.is_inside = side 
    3839        ## connect the artist for the motion 
     
    164165            out = (mask(data)) 
    165166        #self.base.data.mask=out 
     167        self.mask = mask 
    166168        return out   
    167169               
  • sansinvariant/src/sans/invariant/invariant.py

    r78ecdcc r3fc01c5  
    533533            #Create error for data without dy error 
    534534            if data.dy is None: 
    535                 dy = math.sqrt(y)  
     535                dy = math.sqrt(data.y)  
    536536            else: 
    537537                dy = data.dy 
  • sansmodels/src/sans/models/LineModel.py

    rd9341f2 r3fc01c5  
    127127 
    128128if __name__ == "__main__":  
    129     l = Line() 
     129    l = LineModel() 
    130130    print "hello" 
    131131        
  • sansmodels/src/sans/models/PolymerExclVolume.py

    ra496177a r3fc01c5  
    9999        """ 
    100100        if x.__class__.__name__ == 'list': 
    101             return self._guinier(x[0]) 
     101            return self._polymerexclvol(x[0]) 
    102102        elif x.__class__.__name__ == 'tuple': 
    103103            raise ValueError, "Tuples are not allowed as input to BaseComponent models" 
  • sansmodels/src/sans/models/TwoPowerLawModel.py

    r18695bf r3fc01c5  
    88from sans.models.BaseComponent import BaseComponent 
    99from numpy import power 
     10import math 
    1011 
    1112class TwoPowerLawModel(BaseComponent): 
Note: See TracChangeset for help on using the changeset viewer.