- Timestamp:
- Jul 6, 2018 4:10:27 PM (6 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:
- f5483ef
- Parents:
- eb6abab
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/dataloader/readers/cansas_reader_HDF5.py
r8f882fe rcf820f5 39 39 cansas_version = 2.0 40 40 # Data type name 41 type_name = " CanSAS 2.0"41 type_name = "NXcanSAS" 42 42 # Wildcards 43 type = [" CanSAS 2.0 HDF5 Files (*.h5)|*.h5"]43 type = ["NXcanSAS HDF5 Files (*.h5)|*.h5|"] 44 44 # List of allowed extensions 45 45 ext = ['.h5', '.H5'] … … 71 71 except Exception as e: 72 72 if extension not in self.ext: 73 msg = " CanSAS2.0HDF5 Reader could not load file {}".format(basename + extension)73 msg = "NXcanSAS HDF5 Reader could not load file {}".format(basename + extension) 74 74 raise DefaultReaderException(msg) 75 75 raise FileContentsException(e.message)
Note: See TracChangeset
for help on using the changeset viewer.