Ignore:
Timestamp:
Jul 26, 2017 7:26:45 AM (7 years ago)
Author:
lewis
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:
7477fb9
Parents:
3ece5dd
Message:

Refactor CanSASReader/XMLReader to use FileReader? class

File:
1 edited

Legend:

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

    rad92c5a rbc570f4  
    4141    def read(self, filepath): 
    4242        """ 
    43         Basic file reader  
    44          
     43        Basic file reader 
     44 
    4545        :param filepath: The full or relative path to a file to be loaded 
    4646        """ 
     
    5555                    self.get_file_contents() 
    5656                    self.sort_one_d_data() 
    57                 except FileContentsException as e: 
     57                except DataReaderException as e: 
    5858                    self.handle_error_message(e.message) 
    5959                except OSError as e: 
Note: See TracChangeset for help on using the changeset viewer.