Skip to content

Commit 1defe62

Browse files
committed
update cantera syntax
1 parent d11b023 commit 1defe62

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/rmgpy/reactionTest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2954,7 +2954,7 @@ def test_pdep_arrhenius(self):
29542954
# Check that the reaction string is the same
29552955
assert repr(converted_obj) == repr(ct_obj)
29562956
# Check that the Arrhenius rates are identical
2957-
assert str(converted_obj.rate) == str(ct_obj.rate)
2957+
assert converted_obj.PlogRate.rate == ct_obj.PlogRate.rate
29582958

29592959
def test_multi_pdep_arrhenius(self):
29602960
"""
@@ -2975,7 +2975,7 @@ def test_multi_pdep_arrhenius(self):
29752975
# Check that the reaction string is the same
29762976
assert repr(converted_rxn) == repr(ct_rxn)
29772977
# Check that the Arrhenius rates are identical
2978-
assert str(converted_rxn.rate) == str(ct_rxn.rate)
2978+
assert converted_rxn.PlogRate.rate == ct_rxn.PlogRate.rate
29792979

29802980
def test_chebyshev(self):
29812981
"""

0 commit comments

Comments
 (0)