Changeset bc570f4 in sasview for src/sas/sascalc/dataloader/file_reader_base_class.py
- Timestamp:
- Jul 26, 2017 7:26:45 AM (7 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/dataloader/file_reader_base_class.py
rad92c5a rbc570f4 41 41 def read(self, filepath): 42 42 """ 43 Basic file reader 44 43 Basic file reader 44 45 45 :param filepath: The full or relative path to a file to be loaded 46 46 """ … … 55 55 self.get_file_contents() 56 56 self.sort_one_d_data() 57 except FileContentsException as e:57 except DataReaderException as e: 58 58 self.handle_error_message(e.message) 59 59 except OSError as e:
Note: See TracChangeset
for help on using the changeset viewer.