Skip to content

Commit ac76967

Browse files
committed
fix the bug that the coverage kinetics cannot be written to chemkin
1 parent 9bc21d9 commit ac76967

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rmgpy/chemkin.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1867,7 +1867,7 @@ def write_kinetics_entry(reaction, species_list, verbose=True, java_library=Fals
18671867
for species, cov_params in kinetics.coverage_dependence.items():
18681868
label = get_species_identifier(species)
18691869
string += f' COV / {label:<41} '
1870-
string += f"{cov_params['a']:<9.3g} {cov_params['m']:<9.3g} {cov_params['E'].value_si/4184.:<9.3f} /\n"
1870+
string += f"{cov_params['a'].value_si:<9.3g} {cov_params['m'].value_si:<9.3g} {cov_params['E'].value_si/4184.:<9.3f} /\n"
18711871

18721872
if isinstance(kinetics, (_kinetics.ThirdBody, _kinetics.Lindemann, _kinetics.Troe)):
18731873
# Write collider efficiencies

0 commit comments

Comments
 (0)