Skip to content

Commit

Permalink
reset to main, then added check for reversibility before treating a r…
Browse files Browse the repository at this point in the history
…eaction as pdep
  • Loading branch information
donerancl committed Aug 12, 2024
1 parent fb8df86 commit 49e6783
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rmgpy/rmg/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -849,6 +849,8 @@ def process_new_reactions(self, new_reactions, new_species, pdep_network=None, g
pdep = rxn.generate_high_p_limit_kinetics()
elif any([any([x.is_subgraph_isomorphic(q) for q in self.unrealgroups]) for y in rxn.reactants + rxn.products for x in y.molecule]):
pdep = False
elif not rxn.reversible:
pdep = False

# If pressure dependence is on, we only add reactions that are not unimolecular;
# unimolecular reactions will be added after processing the associated networks
Expand Down

0 comments on commit 49e6783

Please sign in to comment.