Skip to content

Commit 650a03f

Browse files
committed
Refactor test_sbml.py to eliminate the use of get_all_parameters function, directly accessing parameters from the document instead. Updated import statements accordingly.
1 parent 7ee5719 commit 650a03f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/test_sbml.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import pyenzyme as pe
77
import pyenzyme.equations as peq
8-
from pyenzyme.tools import to_dict_wo_json_ld, get_all_parameters
8+
from pyenzyme.tools import to_dict_wo_json_ld
99

1010

1111
class TestSBML:
@@ -108,7 +108,7 @@ def test_end_to_end(self):
108108
time_unit="s",
109109
)
110110

111-
for parameter in get_all_parameters(doc):
111+
for parameter in doc.parameters:
112112
parameter.lower_bound = 0.0
113113
parameter.upper_bound = 100.0
114114
parameter.stderr = 0.1

0 commit comments

Comments
 (0)