- Timestamp:
- Mar 27, 2018 12:05:36 PM (7 years ago)
- Branches:
- master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, unittest-saveload
- Children:
- 63ddc03
- Parents:
- 2924532
- Location:
- src/sas/sascalc/dataloader
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/dataloader/file_reader_base_class.py
r2924532 r4a8d55c 34 34 "t not be fully reduced. Support for the reader associat" 35 35 "ed with this file type has been removed. An attempt to " 36 "load the file was made, however, even if a data set was" 37 " generated, SasView cannot guarantee the accuracy of th" 38 "e data.") 36 "load the file was made, but, should it be successful, " 37 "SasView cannot guarantee the accuracy of the data.") 39 38 40 39 class FileReader(object): -
src/sas/sascalc/dataloader/loader.py
rdc8d1c2 r4a8d55c 90 90 ascii_loader = ascii_reader.Reader() 91 91 return ascii_loader.read(path) 92 except NoKnownLoaderException: 93 pass # Try the Cansas XML reader 92 94 except DefaultReaderException: 93 95 pass # Loader specific error to try the cansas XML reader … … 100 102 cansas_loader = cansas_reader.Reader() 101 103 return cansas_loader.read(path) 104 except NoKnownLoaderException: 105 pass # Try the NXcanSAS reader 102 106 except DefaultReaderException: 103 107 pass # Loader specific error to try the NXcanSAS reader
Note: See TracChangeset
for help on using the changeset viewer.