Changeset f118fe2f in sasview
- Timestamp:
- Oct 20, 2010 6:04:42 PM (14 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:
- fb59ed9
- Parents:
- 85bb870
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DataLoader/loader.py
r733e90b rf118fe2f 32 32 # Default readers are defined in the readers sub-module 33 33 import readers 34 from readers import ascii_reader 34 from readers import ascii_reader,cansas_reader 35 35 36 36 class Registry(ExtensionRegistry): … … 76 76 return super(Registry, self).load(path, format=format) 77 77 except: 78 # No reader was found. Default to the ascii reader. 79 ascii_loader = ascii_reader.Reader() 80 return ascii_loader.read(path) 81 78 try: 79 # No reader was found. Default to the ascii reader. 80 ascii_loader = ascii_reader.Reader() 81 return ascii_loader.read(path) 82 except: 83 cansas_loader = cansas_reader.Reader() 84 return cansas_loader.read(path) 82 85 def find_plugins(self, dir): 83 86 """
Note: See TracChangeset
for help on using the changeset viewer.