Changeset 0e33a8d in sasview for src/sas/perspectives
- Timestamp:
- Jul 1, 2015 3:57:24 PM (9 years ago)
- Branches:
- master, 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, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 3a5f7c8
- Parents:
- c80e0ac
- Location:
- src/sas/perspectives
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/perspectives/fitting/pagestate.py
ra15e754 r0e33a8d 882 882 # pass if line is empty (it happens) 883 883 logging.error(sys.exc_value) 884 dic[name] = numpy.array(value_list)884 dic[name] = numpy.array(value_list) 885 885 setattr(self, item[1], dic) 886 886 -
src/sas/perspectives/invariant/invariant_panel.py
r3db44fb r0e33a8d 829 829 try: 830 830 attr = getattr(self, key) 831 attr.SetValue(str(value)) 831 if attr.__class__.__name__ == "StaticText": 832 return 833 if type(value) is not bool: 834 value = str(value) 835 attr.SetValue(value) 832 836 except: 833 837 logging.error("Invariant state: %s", sys.exc_value)
Note: See TracChangeset
for help on using the changeset viewer.