Changeset 3a81cd9 in sasview for src/sas/sascalc/dataloader
- Timestamp:
- Aug 2, 2017 6:59:11 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:
- 4dd90bf
- Parents:
- f994e8b1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/dataloader/loader.py
r3eb7bf2 r3a81cd9 75 75 except FileContentsException as fc_exc: 76 76 # File has an associated reader but it failed 77 raise RuntimeError(fc_exc )77 raise RuntimeError(fc_exc.message) 78 78 except Exception: 79 79 pass … … 86 86 pass # Loader specific error to try the cansas XML reader 87 87 except FileContentsException as e: 88 raise RuntimeError(e )88 raise RuntimeError(e.message) 89 89 90 90 # ASCII reader failed - try CanSAS xML reader … … 95 95 pass # Loader specific error to try the NXcanSAS reader 96 96 except FileContentsException as e: 97 raise RuntimeError(e )97 raise RuntimeError(e.message) 98 98 except Exception as csr: 99 99 pass … … 110 110 raise NoKnownLoaderException(msg) 111 111 except FileContentsException as e: 112 raise RuntimeError(e )112 raise RuntimeError(e.message) 113 113 114 114 def find_plugins(self, dir):
Note: See TracChangeset
for help on using the changeset viewer.