Changeset a78433dd in sasview for src/sas/sascalc/dataloader
- Timestamp:
- Aug 1, 2017 5:00:20 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:
- 713a047
- Parents:
- 2f85af7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/dataloader/file_reader_base_class.py
r2f85af7 ra78433dd 55 55 self.get_file_contents() 56 56 57 if isinstance(self.output[0], Data1D):58 self.sort_one_d_data()59 elif isinstance(self.output[0], Data2D):60 self.sort_two_d_data()61 62 57 except DataReaderException as e: 63 58 self.handle_error_message(e.message) … … 75 70 msg += "Please check your file path and try again." 76 71 self.handle_error_message(msg) 72 73 if isinstance(self.output[0], Data1D): 74 self.sort_one_d_data() 75 elif isinstance(self.output[0], Data2D): 76 self.sort_two_d_data() 77 77 78 # Return a list of parsed entries that data_loader can manage 78 79 return self.output
Note: See TracChangeset
for help on using the changeset viewer.