Changeset e3d1423 in sasview for sansview/perspectives/fitting/pagestate.py
- Timestamp:
- Jun 21, 2010 3:32:20 PM (14 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:
- 3ad91de
- Parents:
- 43db4a8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/pagestate.py
r0b12abb5 re3d1423 37 37 ["name", "name", "string"], 38 38 ["data_name", "data_name", "string"]] 39 list_of_state_attributes = [["qmin", "qmin", "float"], 39 list_of_state_attributes = [["engine_type", "engine_type", "string"], 40 ["qmin", "qmin", "float"], 40 41 ["qmax", "qmax", "float"], 41 42 ["npts", "npts", "float"], … … 105 106 elif item[2] == "bool": 106 107 try: 107 exec "value = bool(node.get(item[0]).strip())"108 return value108 return node.get(item[0]).strip() == "True" 109 109 110 except: 110 111 return None
Note: See TracChangeset
for help on using the changeset viewer.