Changes in / [934f906:292fe08] in sasmodels
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/sasview_model.py
rde97440 r08376e7 38 38 model_info = core.load_model_info(model_name) 39 39 def __init__(self, multfactor=1): 40 SasviewModel.__init__(self , model_info)41 attrs = dict(__init__=__init__ )40 SasviewModel.__init__(self) 41 attrs = dict(__init__=__init__, _model_info=model_info) 42 42 ConstructedModel = type(model_info[namestyle], (SasviewModel,), attrs) 43 43 return ConstructedModel … … 47 47 Sasview wrapper for opencl/ctypes model. 48 48 """ 49 def __init__(self, model_info): 50 self._model_info = model_info 49 def __init__(self): 51 50 self._kernel = None 51 model_info = self._model_info 52 52 53 53 self.name = model_info['name']
Note: See TracChangeset
for help on using the changeset viewer.