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

Release 1.3.0 #15

Merged
merged 3 commits into from
Jan 12, 2024
Merged

Release 1.3.0 #15

merged 3 commits into from
Jan 12, 2024

Conversation

SGenheden
Copy link
Contributor

No description provided.

@SGenheden SGenheden requested a review from CKannas January 9, 2024 12:31
@codecov-commenter
Copy link

codecov-commenter commented Jan 9, 2024

Codecov Report

Attention: 112 lines in your changes are missing coverage. Please review.

Comparison is base (dfeb012) 65.11% compared to head (3458d18) 68.79%.

Files Patch % Lines
rxnutils/pipeline/actions/reaction_props.py 80.87% 39 Missing and 9 partials ⚠️
rxnutils/pipeline/actions/reaction_mod.py 68.65% 20 Missing and 1 partial ⚠️
rxnutils/chem/cgr.py 84.00% 9 Missing and 3 partials ⚠️
rxnutils/chem/utils.py 85.18% 3 Missing and 5 partials ⚠️
rxnutils/pipeline/actions/dataframe_mod.py 68.18% 7 Missing ⚠️
rxnutils/data/base_pipeline.py 0.00% 6 Missing ⚠️
rxnutils/data/batch_utils.py 89.65% 3 Missing and 3 partials ⚠️
rxnutils/data/mapping.py 0.00% 4 Missing ⚠️

❗ 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.
📢 Have feedback on the report? Share it here.

@@ -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
Copy link
Collaborator

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.

Suggested change
smiles: str, is_smarts: bool = False, sanitize: bool = True, canonical=True
smiles: str, is_smarts: bool = False, sanitize: bool = True, canonical: bool = True

@@ -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], ...]:
Copy link
Collaborator

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.

Suggested change
def reaction_centres(rxn) -> Tuple[List[int], ...]:
def reaction_centres(rxn: AllChem.ChemicalReaction) -> Tuple[List[int], ...]:

@SGenheden SGenheden merged commit 4be0a8f into main Jan 12, 2024
1 check passed
@SGenheden SGenheden deleted the release-1.3.0 branch January 12, 2024 07:55
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