Changes in / [e806077:6a729a2] in sasmodels


Ignore:
Location:
sasmodels
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/generate.py

    ra503bfd r3271e20  
    722722        parameters = COMMON_PARAMETERS + kernel_module.parameters, 
    723723        source = getattr(kernel_module, 'source', []), 
     724        oldname = kernel_module.oldname, 
     725        oldpars = kernel_module.oldpars, 
    724726        ) 
    725727    # Fill in attributes which default to None 
  • sasmodels/sasview_model.py

    r250fa25 r3271e20  
    4242        SasviewModel.__init__(self, model) 
    4343    attrs = dict(__init__=__init__) 
    44     ConstructedModel = type(model.info['name'],  (SasviewModel,), attrs) 
     44    ConstructedModel = type(model.info['oldname'],  (SasviewModel,), attrs) 
    4545    return ConstructedModel 
    4646 
     
    5454 
    5555        self.name = model.info['name'] 
     56        self.oldname = model.info['oldname'] 
    5657        self.description = model.info['description'] 
    5758        self.category = None 
Note: See TracChangeset for help on using the changeset viewer.