Changeset d0764bf in sasview for src/sas/sascalc
- Timestamp:
- Mar 10, 2017 8:41:23 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:
- 62b9793
- Parents:
- 09f2328
- Location:
- src/sas/sascalc/dataloader
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/dataloader/loader.py
rb699768 rd0764bf 31 31 from readers import ascii_reader 32 32 from readers import cansas_reader 33 from readers import cansas_reader_HDF5 33 34 34 35 class Registry(ExtensionRegistry): … … 73 74 return ascii_loader.read(path) 74 75 except: 75 cansas_loader = cansas_reader.Reader() 76 return cansas_loader.read(path) 76 try: 77 cansas_loader = cansas_reader.Reader() 78 return cansas_loader.read(path) 79 except: 80 cansas_nexus_loader = cansas_reader_HDF5.Reader() 81 return cansas_nexus_loader.read(path) 77 82 78 83 def find_plugins(self, dir): -
src/sas/sascalc/dataloader/readers/cansas_reader_HDF5.py
rbbd0f37 rd0764bf 53 53 ext = ['.h5', '.H5'] 54 54 ## Flag to bypass extension check 55 allow_all = False55 allow_all = True 56 56 ## List of files to return 57 57 output = None
Note: See TracChangeset
for help on using the changeset viewer.