Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified sasmodels/sasview_model.py

    r5024a56 r39a06c9  
    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  
    831821def test_cylinder(): 
    832822    # type: () -> float 
     
    859849    P = _make_standard_model('cylinder')() 
    860850    model = MultiplicationModel(P, S) 
    861     model.setParam(product.RADIUS_MODE_ID, 1.0) 
     851    model.setParam('radius_effective_mode', 1.0) 
    862852    value = model.evalDistribution([0.1, 0.1]) 
    863853    if np.isnan(value): 
Note: See TracChangeset for help on using the changeset viewer.