Changes in sasmodels/sasview_model.py [5024a56:39a06c9] in sasmodels
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified sasmodels/sasview_model.py ¶
r5024a56 r39a06c9 819 819 return value, [value], [1.0] 820 820 821 @classmethod822 def runTests(cls):823 """824 Run any tests built into the model and captures the test output.825 826 Returns success flag and output827 """828 from .model_test import check_model829 return check_model(cls._model_info)830 831 821 def test_cylinder(): 832 822 # type: () -> float … … 859 849 P = _make_standard_model('cylinder')() 860 850 model = MultiplicationModel(P, S) 861 model.setParam( product.RADIUS_MODE_ID, 1.0)851 model.setParam('radius_effective_mode', 1.0) 862 852 value = model.evalDistribution([0.1, 0.1]) 863 853 if np.isnan(value):
Note: See TracChangeset
for help on using the changeset viewer.