-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added a module for working with RMG reaction families #754
Open
alongd
wants to merge
31
commits into
main
Choose a base branch
from
reaction_families
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+2,414
−685
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alongd
force-pushed
the
reaction_families
branch
3 times, most recently
from
July 3, 2024 05:16
e36816d
to
e96cb3d
Compare
github-actions
bot
added
Module: Main
Module: Mapping
Module: rmgdb
Module: Scheduler
labels
Jul 3, 2024
alongd
force-pushed
the
reaction_families
branch
from
July 13, 2024 12:07
e96cb3d
to
3b94e7b
Compare
Comment on lines
+509
to
+536
# def get_all_reactions_paths(rxn: 'ARCReaction') -> List['ARCReaction']: | ||
# """ | ||
# Get all possible reaction paths with labeled atoms for a given ARC reaction. | ||
# | ||
# Args: | ||
# rxn ('ARCReaction'): The ARC reaction object. | ||
# | ||
# Returns: | ||
# List['ARCReaction']: A list of reactions, each represents a possible reaction path. | ||
# """ | ||
# reaction_paths = list() | ||
# for reactant in rxn.get_reactants_and_products(arc=True, return_copies=True)[0]: | ||
# all_reactions.extend(reactant.generate_reactions()) | ||
# return all_reactions |
Check notice
Code scanning / CodeQL
Commented-out code Note
This comment appears to contain commented-out code.
alongd
force-pushed
the
reaction_families
branch
from
July 20, 2024 17:56
3b94e7b
to
923ea7d
Compare
were used to report the git branch and commit of the repos
ARC reaction families are families for which only a template/recipe is given without kinetic data. They can be used by ARC to atom-map a reaction and search for a transition state just like RMG families. They have the same format as the `group.py` file in RMG reaction families, only here the files are named by the family label. ARC families should be located under ARC/data/families/ to be discovered by ARC. Also added ARC_FAMILIES_PATH to settings
It is obsolete now
Currently the rmgdb module is only used by processor which will be dealt with in a different PR
It is no longer an object, no need to call family.label No need to call determine_family() since family is now a property of reaction
alongd
force-pushed
the
reaction_families
branch
from
July 29, 2024 11:53
923ea7d
to
12d0085
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Now we can identify for each ARC reaction all possible pathways between the reactants and products according to reaction families supported by RMG.
Also added dummy ARC families (w/o kinetics) to assist in identifying reaction templates.
Tests added.