- Timestamp:
- Jan 31, 2018 9:25:11 AM (7 years ago)
- Branches:
- master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 1f4d708
- Parents:
- 9d8d52c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/basepage.py
r9d8d52c r72670ad2 2675 2675 if disp_func is not None: 2676 2676 try: 2677 index = POLYDISPERSITY_MODELS.values().index(disp_func.__class__)2678 return index, POLYDISPERSITY_MODELS.keys()[index]2677 return (list(POLYDISPERSITY_MODELS).index(disp_func.type), 2678 disp_func.type) 2679 2679 except ValueError: 2680 2680 pass # Fall through to default class
Note: See TracChangeset
for help on using the changeset viewer.