Skip to content
Snippets Groups Projects
Commit 4cce3840 authored by FAGES Timothee's avatar FAGES Timothee
Browse files

Replace add_and_write_mechanism.py

parent c02349d8
No related branches found
No related tags found
No related merge requests found
......@@ -496,6 +496,7 @@ def merging(outp, md_core, md_to_translate, max_len_name, model_core, model_to_t
for species in to_add[1] :
if species[0] not in spe_list :
spe_list.append(species[0])
trans=model2.trans[species[0]]
out.write(f'{trans.species:<20}{trans.geo:>10.0f}{trans.lj_p:>10.3f}{trans.lj_cd:>10.3f}{trans.dp:>10.3f}{trans.p:>10.3f}{trans.rr:>10.3f}\n'.upper())
elif model2 !='' :
out.write(f'{"!"*80}\n!!!!!{" "*70}!!!!!\n!!!!!{md2+" TRANSPORT":^70}!!!!!\n!!!!!{" "*70}!!!!!\n{"!"*80}\n'.upper())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment