Changeset fa81e94 in sasview for src/sas/sasgui/perspectives/calculator/sld_panel.py
- Timestamp:
- Nov 15, 2017 2:33:09 AM (6 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/calculator/sld_panel.py
- Property mode changed from 100644 to 100755
r2d220dd rfa81e94 366 366 if len(myformula.atoms) != 1: 367 367 return 368 element = myformula.atoms.keys()[0]368 element = list(myformula.atoms.keys())[0] 369 369 energy = xray_energy(element.K_alpha) 370 370 … … 450 450 if len(element_formula.atoms) != 1: 451 451 return 452 element = element_formula.atoms.keys()[0]452 element = list(element_formula.atoms.keys())[0] 453 453 energy = xray_energy(element.K_alpha) 454 454 atom = molecule_formula.atoms … … 507 507 except: 508 508 if self.base is not None: 509 msg = "SLD Calculator: %s" % (sys.exc_ value)509 msg = "SLD Calculator: %s" % (sys.exc_info()[1]) 510 510 wx.PostEvent(self.base, StatusEvent(status=msg)) 511 511 if event is not None:
Note: See TracChangeset
for help on using the changeset viewer.