Changeset b9d74f3 in sasview for src/sas/sasgui/perspectives/pr/inversion_state.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/sasgui/perspectives/pr/inversion_state.py
r7432acb rb9d74f3 235 235 msg = "InversionState no longer supports non-CanSAS" 236 236 msg += " format for P(r) files" 237 raise RuntimeError , msg237 raise RuntimeError(msg) 238 238 239 239 if node.get('version') and node.get('version') == '1.0': … … 478 478 output.append(sas_entry) 479 479 else: 480 raise RuntimeError , "%s is not a file" % path480 raise RuntimeError("%s is not a file" % path) 481 481 482 482 # Return output consistent with the loader's api … … 522 522 msg = "The cansas writer expects a Data1D " 523 523 msg += "instance: %s" % str(datainfo.__class__.__name__) 524 raise RuntimeError , msg524 raise RuntimeError(msg) 525 525 526 526 # Create basic XML document
Note: See TracChangeset
for help on using the changeset viewer.