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 committed Jul 26, 2021
1 parent 541af14 commit 4ce2516
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 @@ -4332,7 +4332,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 4ce2516

Please sign in to comment.