Changeset 3271e20 in sasmodels for sasmodels/sasview_model.py
- Timestamp:
- Feb 18, 2015 9:08:57 AM (9 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 6a729a2
- Parents:
- 87fce00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/sasview_model.py
r250fa25 r3271e20 42 42 SasviewModel.__init__(self, model) 43 43 attrs = dict(__init__=__init__) 44 ConstructedModel = type(model.info[' name'], (SasviewModel,), attrs)44 ConstructedModel = type(model.info['oldname'], (SasviewModel,), attrs) 45 45 return ConstructedModel 46 46 … … 54 54 55 55 self.name = model.info['name'] 56 self.oldname = model.info['oldname'] 56 57 self.description = model.info['description'] 57 58 self.category = None
Note: See TracChangeset
for help on using the changeset viewer.