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

Fix bug of parsing of reactants in building the reaction SMILES #701

Merged
merged 8 commits into from
Sep 21, 2023

Conversation

FanwangM
Copy link
Collaborator

The original codes would take anything other than REAGENT, SOLVENT, CATALYST, INTERNAL_STANDARD, PRODUCT as reactant, which is problematic. Because AUTHENTIC_STANDARD, BYPRODUCT, SIDE_PRODUCT are not reactants.

Also fixed the imports, duplicates and cleaning up.

@codecov
Copy link

codecov bot commented Sep 14, 2023

Codecov Report

Merging #701 (225a456) into main (07f1fb4) will increase coverage by 0.08%.
Report is 1 commits behind head on main.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #701      +/-   ##
==========================================
+ Coverage   69.80%   69.89%   +0.08%     
==========================================
  Files          23       23              
  Lines        2368     2368              
  Branches      598      598              
==========================================
+ Hits         1653     1655       +2     
+ Misses        600      599       -1     
+ Partials      115      114       -1     
Files Changed Coverage Δ
ord_schema/message_helpers.py 86.06% <100.00%> (+0.48%) ⬆️

ord_schema/message_helpers.py Outdated Show resolved Hide resolved
ord_schema/message_helpers.py Outdated Show resolved Hide resolved
@FanwangM FanwangM requested a review from skearnes September 17, 2023 06:11
The original codes would take anything other than REAGENT, SOLVENT,
CATALYST, INTERNAL_STANDARD, PRODUCT as reactant, which is problematic. Because
AUTHENTIC_STANDARD, BYPRODUCT, SIDE_PRODUCT are not reactants.

Also fixed the imports, duplicates and cleaning up.
@FanwangM FanwangM merged commit 2e8a5f8 into open-reaction-database:main Sep 21, 2023
10 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.

2 participants