Changeset ca3f89b in sasview for src/sas/sasgui/perspectives
- Timestamp:
- Sep 15, 2016 8:33:57 AM (8 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:
- 73e0427
- Parents:
- 69d8aac
- git-author:
- Jeff Krzywon <krzywon@…> (09/01/16 14:36:07)
- git-committer:
- Piotr Rozyczko <rozyczko@…> (09/15/16 08:33:57)
- Location:
- src/sas/sasgui/perspectives
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/pagestate.py
r7673ecd rca3f89b 1569 1569 if output[ind].run_name is not None\ 1570 1570 and len(output[ind].run_name) != 0: 1571 name = output[ind].run_name 1571 if isinstance(output[ind].run_name, dict): 1572 name = output[ind].run_name.keys()[0] 1573 else: 1574 name = output[ind].run_name 1572 1575 else: 1573 1576 name = original_fname -
src/sas/sasgui/perspectives/invariant/invariant_panel.py
r5875d3d rca3f89b 830 830 """ 831 831 try: 832 attr = getattr(self, key) 832 if key in ['compute_num', 'file', 'is_time_machine', 'state_num']: 833 return 834 else: 835 attr = getattr(self, key) 833 836 if attr.__class__.__name__ == "StaticText": 834 837 return 835 if type(value) is not bool: 838 if value in ["True", "False", True, False]: 839 value = bool(value) 840 else: 836 841 value = str(value) 837 842 attr.SetValue(value)
Note: See TracChangeset
for help on using the changeset viewer.