Skip to content

Commit 7ee5719

Browse files
committed
Refactor test_enzymeml.py to remove dependency on get_all_parameters function and directly access parameters from the document. Updated import statements accordingly.
1 parent 263459b commit 7ee5719

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/integration/test_enzymeml.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import os
22
import tempfile
3+
34
import pyenzyme as pe
45
import pyenzyme.equations as peq
5-
6-
from pyenzyme.tools import get_all_parameters, to_dict_wo_json_ld
6+
from pyenzyme.tools import to_dict_wo_json_ld
77

88

99
class TestEnzymeML:
@@ -71,7 +71,7 @@ def test_end_to_end(self):
7171
time_unit="s",
7272
)
7373

74-
for parameter in get_all_parameters(doc):
74+
for parameter in doc.parameters:
7575
parameter.lower_bound = 0.0
7676
parameter.upper_bound = 100.0
7777
parameter.stderr = 0.1

0 commit comments

Comments
 (0)