Skip to content

Commit 5ef7981

Browse files
committed
check
1 parent 83b2f80 commit 5ef7981

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

petab/v2/models/_sbml_utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ def add_sbml_parameter(
4040
"""Add a parameter to the SBML model."""
4141
param = model.createParameter()
4242

43-
param.setId(id_)
43+
check(param.setId(id_))
4444

4545
if value is not None:
46-
param.setValue(value)
46+
check(param.setValue(value))
4747

4848
if constant is not None:
49-
param.setConstant(constant)
49+
check(param.setConstant(constant))
5050

5151
return param

0 commit comments

Comments
 (0)