Ignore:
Timestamp:
Dec 5, 2017 12:29:37 PM (6 years ago)
Author:
GitHub <noreply@…>
Branches:
master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
f53d684
Parents:
79c9ce5
git-author:
Paul Kienzle <pkienzle@…> (12/05/17 12:29:37)
git-committer:
GitHub <noreply@…> (12/05/17 12:29:37)
Message:

remove infinite loop from sesans reader (#129)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sascalc/dataloader/file_reader_base_class.py

    rcb11a25 r3053a4a  
    4747        # Current DataInfo object being loaded in 
    4848        self.current_datainfo = None 
     49        # File path sent to reader 
     50        self.filepath = None 
    4951        # Open file handle 
    5052        self.f_open = None 
     
    5658        :param filepath: The full or relative path to a file to be loaded 
    5759        """ 
     60        self.filepath = filepath 
    5861        if os.path.isfile(filepath): 
    5962            basename, extension = os.path.splitext(os.path.basename(filepath)) 
     
    98101        self.current_datainfo = None 
    99102        self.current_dataset = None 
     103        self.filepath = None 
    100104        self.output = [] 
    101105 
Note: See TracChangeset for help on using the changeset viewer.