Changes in sasmodels/sasview_model.py [39a06c9:5024a56] in sasmodels
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/sasview_model.py
r39a06c9 r5024a56 819 819 return value, [value], [1.0] 820 820 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 821 831 def test_cylinder(): 822 832 # type: () -> float … … 849 859 P = _make_standard_model('cylinder')() 850 860 model = MultiplicationModel(P, S) 851 model.setParam( 'radius_effective_mode', 1.0)861 model.setParam(product.RADIUS_MODE_ID, 1.0) 852 862 value = model.evalDistribution([0.1, 0.1]) 853 863 if np.isnan(value):
Note: See TracChangeset
for help on using the changeset viewer.