Changeset c4d6900 in sasview for park_integration/Loader.py


Ignore:
Timestamp:
Oct 27, 2010 2:07:46 PM (14 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:
b0ab6cb
Parents:
7406040
Message:

working on pylint

File:
1 edited

Legend:

Unmodified
Added
Removed
  • park_integration/Loader.py

    r89f3b66 rc4d6900  
    33#import string 
    44import numpy 
     5 
    56class Load: 
    67    """ 
     
    89    """ 
    910     
    10     def _init_(self, x=None, y=None, dx=None, dy=None): 
     11    def __init__(self, x=None, y=None, dx=None, dy=None): 
    1112        # variable to store loaded values 
    1213        self.x = x 
     
    1819    def set_filename(self, path=None): 
    1920        """ 
    20         Store path into a variable.If the user doesn't give a path as a parameter a pop-up 
     21        Store path into a variable.If the user doesn't give  
     22        a path as a parameter a pop-up 
    2123        window appears to select the file. 
    2224         
     
    5355                except: 
    5456                    print "READ ERROR", line 
    55              
    56              
    5757            # Sanity check 
    5858            if not len(self.x) == len(self.dx): 
Note: See TracChangeset for help on using the changeset viewer.