We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83b2f80 commit 5ef7981Copy full SHA for 5ef7981
1 file changed
petab/v2/models/_sbml_utils.py
@@ -40,12 +40,12 @@ def add_sbml_parameter(
40
"""Add a parameter to the SBML model."""
41
param = model.createParameter()
42
43
- param.setId(id_)
+ check(param.setId(id_))
44
45
if value is not None:
46
- param.setValue(value)
+ check(param.setValue(value))
47
48
if constant is not None:
49
- param.setConstant(constant)
+ check(param.setConstant(constant))
50
51
return param
0 commit comments