Changeset fa81e94 in sasview for src/sas/sasgui/perspectives/pr/inversion_state.py
- Timestamp:
- Nov 15, 2017 4:33:09 AM (7 years ago)
- Branches:
- ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- d4881f6a
- Parents:
- 7c487846
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/pr/inversion_state.py
- Property mode changed from 100644 to 100755
r1fa4f736 rfa81e94 238 238 msg = "InversionState no longer supports non-CanSAS" 239 239 msg += " format for P(r) files" 240 raise RuntimeError , msg240 raise RuntimeError(msg) 241 241 242 242 if node.get('version') and node.get('version') == '1.0': … … 254 254 except: 255 255 msg = "InversionState.fromXML: Could not read " 256 msg += "timestamp\n %s" % sys.exc_ value256 msg += "timestamp\n %s" % sys.exc_info()[1] 257 257 logger.error(msg) 258 258 … … 434 434 except: 435 435 msg = "XML document does not contain P(r) " 436 msg += "information.\n %s" % sys.exc_ value436 msg += "information.\n %s" % sys.exc_info()[1] 437 437 logger.info(msg) 438 438 … … 481 481 output.append(sas_entry) 482 482 else: 483 raise RuntimeError , "%s is not a file" % path483 raise RuntimeError("%s is not a file" % path) 484 484 485 485 # Return output consistent with the loader's api … … 525 525 msg = "The cansas writer expects a Data1D " 526 526 msg += "instance: %s" % str(datainfo.__class__.__name__) 527 raise RuntimeError , msg527 raise RuntimeError(msg) 528 528 529 529 # Create basic XML document
Note: See TracChangeset
for help on using the changeset viewer.