@@ -2954,7 +2954,7 @@ def test_pdep_arrhenius(self):
2954
2954
# Check that the reaction string is the same
2955
2955
assert repr (converted_obj ) == repr (ct_obj )
2956
2956
# Check that the Arrhenius rates are identical
2957
- assert str (converted_obj .rates ) == str (ct_obj .rates )
2957
+ assert str (converted_obj .rate . rates ) == str (ct_obj . rate .rates )
2958
2958
2959
2959
def test_multi_pdep_arrhenius (self ):
2960
2960
"""
@@ -2975,7 +2975,7 @@ def test_multi_pdep_arrhenius(self):
2975
2975
# Check that the reaction string is the same
2976
2976
assert repr (converted_rxn ) == repr (ct_rxn )
2977
2977
# Check that the Arrhenius rates are identical
2978
- assert str (converted_rxn .rates ) == str (ct_rxn .rates )
2978
+ assert str (converted_rxn .rate . rates ) == str (ct_rxn . rate .rates )
2979
2979
2980
2980
def test_chebyshev (self ):
2981
2981
"""
@@ -2996,18 +2996,18 @@ def test_falloff(self):
2996
2996
assert round (abs (ct_troe .rate .low_rate .pre_exponential_factor - self .ct_troe .rate .low_rate .pre_exponential_factor ), 3 ) == 0
2997
2997
assert ct_troe .rate .low_rate .temperature_exponent == self .ct_troe .rate .low_rate .temperature_exponent
2998
2998
assert ct_troe .rate .low_rate .activation_energy == self .ct_troe .rate .low_rate .activation_energy
2999
- assert ct_troe .efficiencies == self .ct_troe .efficiencies
2999
+ assert ct_troe .third_body . efficiencies == self .ct_troe . third_body .efficiencies
3000
3000
3001
3001
ct_third_body = self .thirdBody .to_cantera (self .species_list , use_chemkin_identifier = True )
3002
3002
assert type (ct_third_body .rate ) == type (self .ct_thirdBody .rate )
3003
3003
assert round (abs (ct_third_body .rate .pre_exponential_factor - self .ct_thirdBody .rate .pre_exponential_factor ), 3 ) == 0
3004
3004
assert ct_third_body .rate .temperature_exponent == self .ct_thirdBody .rate .temperature_exponent
3005
3005
assert ct_third_body .rate .activation_energy == self .ct_thirdBody .rate .activation_energy
3006
- assert ct_third_body .efficiencies == self .ct_thirdBody .efficiencies
3006
+ assert ct_third_body .third_body . efficiencies == self .ct_thirdBody . third_body .efficiencies
3007
3007
3008
3008
ct_lindemann = self .lindemann .to_cantera (self .species_list , use_chemkin_identifier = True )
3009
3009
assert type (ct_lindemann .rate ) == type (self .ct_lindemann .rate )
3010
- assert ct_lindemann .efficiencies == self .ct_lindemann .efficiencies
3010
+ assert ct_lindemann .third_body . efficiencies == self .ct_lindemann . third_body .efficiencies
3011
3011
assert str (ct_lindemann .rate .low_rate ) == str (self .ct_lindemann .rate .low_rate )
3012
3012
assert str (ct_lindemann .rate .high_rate ) == str (self .ct_lindemann .rate .high_rate )
3013
3013
0 commit comments