-
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
Release 1.3.0 #15
Release 1.3.0 #15
Conversation
Codecov ReportAttention:
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #15 +/- ##
==========================================
+ Coverage 65.11% 68.79% +3.67%
==========================================
Files 19 21 +2
Lines 1918 2416 +498
Branches 333 427 +94
==========================================
+ Hits 1249 1662 +413
- Misses 616 680 +64
- Partials 53 74 +21 ☔ View full report in Codecov by Sentry. |
rxnutils/chem/utils.py
Outdated
@@ -336,14 +337,15 @@ def has_atom_mapping( | |||
|
|||
|
|||
def remove_atom_mapping( | |||
smiles: str, is_smarts: bool = False, sanitize: bool = True | |||
smiles: str, is_smarts: bool = False, sanitize: bool = True, canonical=True |
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.
We forgot the type hint.
smiles: str, is_smarts: bool = False, sanitize: bool = True, canonical=True | |
smiles: str, is_smarts: bool = False, sanitize: bool = True, canonical: bool = True |
rxnutils/chem/utils.py
Outdated
@@ -540,3 +583,73 @@ def split_smiles_from_reaction(smiles: str) -> List[str]: | |||
else: | |||
components.append(smiles[block_start:pos]) | |||
return components | |||
|
|||
|
|||
def reaction_centres(rxn) -> Tuple[List[int], ...]: |
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.
Missing type hint for rxn
.
def reaction_centres(rxn) -> Tuple[List[int], ...]: | |
def reaction_centres(rxn: AllChem.ChemicalReaction) -> Tuple[List[int], ...]: |
No description provided.