Skip to content
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

Merged
merged 3 commits into from
May 27, 2024
Merged

Conversation

SGenheden
Copy link
Contributor

No description provided.

@@ -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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
It provide convinient methods for assigning atom-mapping
It provides convenient methods for assigning atom-mapping

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The tree depth and the forward step is automatically assigned
The tree depth and the forward step are automatically assigned

) -> 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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

@SGenheden SGenheden merged commit 9e6320b into main May 27, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants