Changeset 0cc77d8 in sasview for src/sas/sascalc/dataloader/readers/tiff_reader.py
- Timestamp:
- May 1, 2017 5:00:53 PM (8 years ago)
- Children:
- 733cdcd
- Parents:
- b9d74f3 (diff), c00a797a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - git-author:
- Paul Kienzle <pkienzle@…> (05/01/17 17:00:53)
- git-committer:
- GitHub <noreply@…> (05/01/17 17:00:53)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/dataloader/readers/tiff_reader.py
r959eb01 rb9d74f3 44 44 except: 45 45 msg = "tiff_reader: could not load file. Missing Image module." 46 raise RuntimeError , msg46 raise RuntimeError(msg) 47 47 48 48 # Instantiate data object … … 54 54 im = Image.open(filename) 55 55 except: 56 raise RuntimeError , "cannot open %s"%(filename)56 raise RuntimeError("cannot open %s"%(filename)) 57 57 data = im.getdata() 58 58
Note: See TracChangeset
for help on using the changeset viewer.