From 4ce2516aaa5dccfbb768ca53b82f29e0a1f05619 Mon Sep 17 00:00:00 2001 From: davidfarinajr Date: Mon, 26 Jul 2021 13:44:02 -0400 Subject: [PATCH] added rxn metal attrs to own reverse reactions in family `get_training_set` --- rmgpy/data/kinetics/family.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rmgpy/data/kinetics/family.py b/rmgpy/data/kinetics/family.py index d7d2901b2b..6994930d9a 100644 --- a/rmgpy/data/kinetics/family.py +++ b/rmgpy/data/kinetics/family.py @@ -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: