Changeset b9d74f3 in sasview for src/sas/sascalc/dataloader/readers/red2d_reader.py
- Timestamp:
- Apr 20, 2017 6:29:34 AM (8 years ago)
- Children:
- 0cc77d8
- Parents:
- b636dfc5
- git-author:
- Andrew Nelson <andyfaff@…> (04/20/17 06:25:57)
- git-committer:
- Andrew Nelson <andyfaff@…> (04/20/17 06:29:34)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/dataloader/readers/red2d_reader.py
r959eb01 rb9d74f3 70 70 """ Read file """ 71 71 if not os.path.isfile(filename): 72 raise ValueError, \ 73 "Specified file %s is not a regular file" % filename 72 raise ValueError("Specified file %s is not a regular file" % filename) 74 73 75 74 # Read file … … 232 231 except: 233 232 msg = "red2d_reader: Can't read this file: Not a proper file format" 234 raise ValueError , msg233 raise ValueError(msg) 235 234 ## Get the all data: Let's HARDcoding; Todo find better way 236 235 # Defaults
Note: See TracChangeset
for help on using the changeset viewer.