Skip to content
This repository was archived by the owner on Jun 7, 2024. It is now read-only.
This repository was archived by the owner on Jun 7, 2024. It is now read-only.

RMG does not handle multiple kinetics from different rxn families properly #65

Open
@mrharper

Description

@mrharper

Take *CH2-CH2-CH2-CH2-OH as an example. When running this against all of RMG's reaction family templates, one set of products is: C2H4 + *CH2CH2OH.

One template that generates this reaction is Beta_Scission (reverse of R_Addition_MultipleBond). Another template that should generate this reaction is 1,2_Elimination_ROR (reverse of 1,3_Insertion_ROR).

However, when running RMG or PopulateReactions, RMG will only find one of these two, depending on which reaction family template is accessed first when reacting the species against all templates. The problem is that RMG will make the reaction via one of the rxn family templates (in current_reactions in TemplateReactionGenerator for those following at home) and then add this to the reaction_Set. The next instance of this reaction (with different kinetics) is made, placed in current_reactions, and then trys to add to reaction_Set. However, the .addAll() recognizes these two reactions as equal (based on the Reaction.equals() definition) and does not include it.

MRH is working on this now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions