Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/sasview_model.py

    r39a06c9 r5024a56  
    819819            return value, [value], [1.0] 
    820820 
     821    @classmethod 
     822    def runTests(cls): 
     823        """ 
     824        Run any tests built into the model and captures the test output. 
     825 
     826        Returns success flag and output 
     827        """ 
     828        from .model_test import check_model 
     829        return check_model(cls._model_info) 
     830 
    821831def test_cylinder(): 
    822832    # type: () -> float 
     
    849859    P = _make_standard_model('cylinder')() 
    850860    model = MultiplicationModel(P, S) 
    851     model.setParam('radius_effective_mode', 1.0) 
     861    model.setParam(product.RADIUS_MODE_ID, 1.0) 
    852862    value = model.evalDistribution([0.1, 0.1]) 
    853863    if np.isnan(value): 
Note: See TracChangeset for help on using the changeset viewer.