Changeset b0b09b9 in sasview for src/sas/qtgui/Perspectives/Invariant/InvariantUtils.py
- Timestamp:
- Oct 26, 2017 3:13:05 AM (7 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:
- 895e7359
- Parents:
- def64a0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Invariant/InvariantUtils.py
rf721030 rb0b09b9 1 1 def enum(*sequential, **named): 2 enums = dict( zip(sequential, range(len(sequential))), **named)2 enums = dict(list(zip(sequential, list(range(len(sequential))))), **named) 3 3 return type('Enum', (), enums) 4 4
Note: See TracChangeset
for help on using the changeset viewer.