Changeset faa3ae7 in sasview for src/sas/sasgui
- Timestamp:
- May 18, 2016 10:44:30 AM (9 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.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 66f21cd
- Parents:
- af09f48
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/guiframe/local_perspectives/data_loader/data_loader.py
rd85c194 rfaa3ae7 155 155 """ 156 156 data_error = False 157 for error_data in item.errors: 157 if hasattr(item, 'errors'): 158 for error_data in item.errors: 159 data_error = True 160 message += "\tError: {0}\n".format(error_data) 161 else: 162 logging.error("Loader returned an invalid object:\n %s" % str(item)) 158 163 data_error = True 159 message += "\tError: {0}\n".format(error_data)164 160 165 data = self.parent.create_gui_data(item, p_file) 161 166 output[data.id] = data … … 203 208 error_message) 204 209 except: 210 logging.error(sys.exc_value) 205 211 any_error = True 206 212 if any_error or error_message != "":
Note: See TracChangeset
for help on using the changeset viewer.