Changes in / [e806077:6a729a2] in sasmodels
- Location:
- sasmodels
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/generate.py
ra503bfd r3271e20 722 722 parameters = COMMON_PARAMETERS + kernel_module.parameters, 723 723 source = getattr(kernel_module, 'source', []), 724 oldname = kernel_module.oldname, 725 oldpars = kernel_module.oldpars, 724 726 ) 725 727 # Fill in attributes which default to None -
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.