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

Add missing SMARTS strings and correctness tests for get_fx_groups() #73

Merged
merged 52 commits into from
Dec 14, 2023

Conversation

Aariq
Copy link
Collaborator

@Aariq Aariq commented Oct 4, 2023

Addresses #44 (partially) and #47

Adds SMARTS strings to capture all functional groups in the SIMPOL.1 paper except "number of carbons on the acid side of an amide" which I think is probably impossible with SMARTS alone. Adds a CSV file with test compounds and their expected functional group counts as well as a test to compare to that CSV.

This was linked to issues Oct 10, 2023
@Aariq Aariq removed a link to an issue Oct 10, 2023
@Aariq
Copy link
Collaborator Author

Aariq commented Nov 28, 2023

I think I'll want to "Squash and Merge" this one

Merge commit '50371e2153752fefd0794c53dc3ea9feb8886c07'

#Conflicts:
#	NEWS.md
#	R/get_fx_groups.R
#	R/simpol1.R
#	man/get_fx_groups.Rd
@Aariq

This comment was marked as outdated.

R/get_fx_groups.R Outdated Show resolved Hide resolved
@Aariq
Copy link
Collaborator Author

Aariq commented Dec 7, 2023

Still need to:

  • double-check that all the functional groups have tests (i.e. the colnames in test_compounds.csv match)
  • make notes on test_compounds.csv about why each compound was chosen
  • add example compounds for secondary and tertiary amines and aldehydes
  • add example compounds for:
    • phosphoric_acid
    • phosphoric_ester
    • sulfate
    • sulfonate
    • thiol
    • carbothioester

@Aariq Aariq requested a review from KristinaRiemer December 8, 2023 23:11
@Aariq Aariq linked an issue Dec 8, 2023 that may be closed by this pull request
@Aariq Aariq marked this pull request as draft December 8, 2023 23:17
@Aariq Aariq marked this pull request as ready for review December 8, 2023 23:34
@KristinaRiemer KristinaRiemer mentioned this pull request Dec 13, 2023
16 tasks
@KristinaRiemer KristinaRiemer merged commit 46005bb into master Dec 14, 2023
7 checks passed
@KristinaRiemer KristinaRiemer deleted the smarts branch December 14, 2023 20:15
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.

sulfonate groups not getting captured? Add correctness tests for get_fx_groups() Missing SMARTS strings
2 participants