-
Notifications
You must be signed in to change notification settings - Fork 13
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
Adding updates for 1.5.0 release #18
Conversation
rxnutils/routes/base.py
Outdated
@@ -24,14 +24,14 @@ | |||
class SynthesisRoute: | |||
""" | |||
This encapsulates a synthesis route or a reaction tree. | |||
It provides convenient methods for assigning atom-mapping | |||
It provide convinient methods for assigning atom-mapping |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It provide convinient methods for assigning atom-mapping | |
It provides convenient methods for assigning atom-mapping |
rxnutils/routes/base.py
Outdated
to the reactions, and for providing reaction-level data | ||
of the route | ||
|
||
It is typically initiallized by one of the readers in the | ||
`rxnutils.routes.readers` module. | ||
|
||
The tree depth and the forward step are automatically assigned | ||
The tree depth and the forward step is automatically assigned |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tree depth and the forward step is automatically assigned | |
The tree depth and the forward step are automatically assigned |
rxnutils/routes/base.py
Outdated
) -> None: | ||
""" | ||
Assign atom-mapping to each reaction in the route and | ||
ensure that is consistent from root compound and throughout | ||
ensure that is is consistent from root compound and throughout |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ensure that is is consistent from root compound and throughout | |
ensure that is consistent from root compound and throughout |
def _get_atom_identifier(atom: Chem.rdchem.Atom) -> str: | ||
""" | ||
Get atom identifier for neighborhood identification. | ||
The identifier is either the atom-map number if available, otherwise the symbol. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The identifier is either the atom-map number if available, otherwise the symbol. | |
The identifier is either the atom-map number if available, otherwise the symbol. | |
|
||
:param product_tagged_tokens: tokens of product tagged with [<atom>:1] | ||
:param product_untagged_tokens: tokens of the untagged product | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.