Changeset b4fc0f9 in sasview for src/sas/sasgui
- Timestamp:
- Nov 15, 2016 2:29:45 PM (8 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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 377c19a2
- Parents:
- 600005c
- Location:
- src/sas/sasgui/perspectives/fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/basepage.py
r64c7f39 rb4fc0f9 1572 1572 if len(statelist) == 0 or len(listtorestore) == 0: 1573 1573 return 1574 if len(statelist) != len(listtorestore):1575 return1576 1574 1577 1575 ordered_list = [] … … 1581 1579 ordered_list.append(param) 1582 1580 break 1581 if len(ordered_list) != len(statelist): 1582 return 1583 1583 statelist = ordered_list 1584 1584 1585 for j in range(len(listtorestore)): 1585 for j in range(len(statelist)) if len(statelist) < len(listtorestore) \ 1586 else range(len(listtorestore)): 1586 1587 item_page = listtorestore[j] 1587 1588 item_page_info = statelist[j] 1589 if (item_page_info[1] == "theta" or item_page_info[1] == "phi") \ 1590 and not self._is_2D(): 1591 break 1588 1592 # change the state of the check box for simple parameters 1589 1593 if item_page[0] is not None: -
src/sas/sasgui/perspectives/fitting/pagestate.py
r64c7f39 rb4fc0f9 401 401 lower = params.get(name + ".lower") 402 402 units = params.get(name + ".units") 403 if std is not None :403 if std is not None and std is not numpy.nan: 404 404 std = [True, str(std)] 405 405 else:
Note: See TracChangeset
for help on using the changeset viewer.