Skip to content

Commit 9432998

Browse files
12Chaobjkreitz
authored andcommitted
fix the bug that the coverage kinetics cannot be written to chemkin
1 parent 7ffa50f commit 9432998

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rmgpy/chemkin.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1865,7 +1865,7 @@ def write_kinetics_entry(reaction, species_list, verbose=True, java_library=Fals
18651865
for species, cov_params in kinetics.coverage_dependence.items():
18661866
label = get_species_identifier(species)
18671867
string += f' COV / {label:<41} '
1868-
string += f"{cov_params['a']:<9.3g} {cov_params['m']:<9.3g} {cov_params['E'].value_si/4184.:<9.3f} /\n"
1868+
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"
18691869

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

0 commit comments

Comments
 (0)