Changes in / [d1520fc:61bfd36] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/dataloader/loader.py
r9592c6f rdc8d1c2 54 54 self.wildcards = ['All (*.*)|*.*'] 55 55 56 # Deprecated extensions57 self.deprecated_extensions = ['.asc', '.nxs']58 59 56 # Creation time, for testing 60 57 self._created = time.time() … … 76 73 # Gets set to a string if the file has an associated reader that fails 77 74 msg_from_reader = None 78 extlist = [ext for ext in self.deprecated_extensions if79 path.lower().endswith(ext)]80 if extlist:81 msg = ("\rThe file you are attempting to load, {}, is no longer "82 "loadable by SasView. The file extension suggests the data "83 "set is in pixel space. SasView will no longer reduce raw da"84 "ta sets. Please provide fully reduced data in Q space. No a"85 "ttempt to load the data has been made."86 .format(path))87 raise RuntimeError(msg)88 75 try: 89 76 return super(Registry, self).load(path, format=format)
Note: See TracChangeset
for help on using the changeset viewer.