Changeset ecc8d1a8 in sasview for src/sas


Ignore:
Timestamp:
Apr 4, 2017 8:22:33 AM (8 years ago)
Author:
Adam Washington <adam.washington@…>
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.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
def97a0
Parents:
e935ddb1
Message:

Remove whitespace from sesans_reader.py code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sascalc/dataloader/readers/sesans_reader.py

    re935ddb1 recc8d1a8  
    11""" 
    22    SESANS reader (based on ASCII reader) 
    3      
     3 
    44    Reader for .ses or .sesans file format 
    5      
    6     Jurrian Bakker  
     5 
     6    Jurrian Bakker 
    77""" 
    88import numpy as np 
     
    2424    ## File type 
    2525    type_name = "SESANS" 
    26      
     26 
    2727    ## Wildcards 
    2828    type = ["SESANS files (*.ses)|*.ses", 
     
    3030    ## List of allowed extensions 
    3131    ext = ['.ses', '.SES', '.sesans', '.SESANS'] 
    32      
     32 
    3333    ## Flag to bypass extension check 
    3434    allow_all = True 
    35      
     35 
    3636    def read(self, path): 
    37          
     37 
    3838#        print "reader triggered" 
    39          
     39 
    4040        """ 
    4141        Load data file 
    42          
     42 
    4343        :param path: file path 
    44          
     44 
    4545        :return: SESANSData1D object, or None 
    46          
     46 
    4747        :raise RuntimeError: when the file can't be opened 
    4848        :raise ValueError: when the length of the data vectors are inconsistent 
Note: See TracChangeset for help on using the changeset viewer.