Skip to content

Commit

Permalink
added rxn metal attrs to own reverse reactions in family `get_trainin…
Browse files Browse the repository at this point in the history
…g_set`
  • Loading branch information
davidfarinajr authored and mazeau committed Oct 1, 2021
1 parent ea49070 commit 5ed781e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rmgpy/data/kinetics/family.py
Original file line number Diff line number Diff line change
Expand Up @@ -4337,7 +4337,8 @@ def get_reactant_thermo(reactant,metal):
reacts = [Species(molecule=[get_label_fixed_mol(x.molecule[0], root_labels)], thermo=x.thermo)
for x in rxns[i].reactants]
rrev = Reaction(reactants=products, products=reacts,
kinetics=rxns[i].generate_reverse_rate_coefficient(), rank=rxns[i].rank)
kinetics=rxns[i].generate_reverse_rate_coefficient(), rank=rxns[i].rank,
metal=rxns[i].metal, facet=rxns[i].facet, site=rxns[i].site)
rrev.is_forward = False

if estimate_thermo:
Expand Down

0 comments on commit 5ed781e

Please sign in to comment.