Changeset 371b9e2 in sasview for src/sas/sascalc/dataloader/loader.py
- Timestamp:
- May 2, 2017 11:24:16 AM (8 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:
- 3ece5dd
- Parents:
- 5d8f9b3
- git-author:
- Jeff Krzywon <krzywon@…> (05/02/17 11:24:16)
- git-committer:
- krzywon <krzywon@…> (05/02/17 11:24:16)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/dataloader/loader.py
r5d8f9b3 r371b9e2 71 71 try: 72 72 return super(Registry, self).load(path, format=format) 73 except NoKnownLoaderException as e: 74 pass # try the ASCII reader 73 except NoKnownLoaderException as nkl_e: 74 pass # try the ASCII reader4 75 except Exception as reg_e: 76 pass 75 77 try: 76 78 ascii_loader = ascii_reader.Reader() 77 79 return ascii_loader.read(path) 78 80 except DefaultReaderException: 79 pass # Loader specific error to try the cansas XML reader 81 pass # Loader specific error to try the ascii reader 82 except FileContentsException: 83 # TODO: handle error 84 pass 80 85 try: 81 86 cansas_loader = cansas_reader.Reader()
Note: See TracChangeset
for help on using the changeset viewer.