-
Notifications
You must be signed in to change notification settings - Fork 23
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
Fragment filter #270
base: main
Are you sure you want to change the base?
Fragment filter #270
Conversation
@simonsung06 : can you have a look? |
Sorry for the delay. I left a comment on the test. Can you see it? |
No problem, but I cannot see any comment. |
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.
I like the feature. minor comment
"N[C@](C)(F)C(=O)O", | ||
] | ||
) | ||
mf.get_contained_fragments(smiles) |
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.
Should we make the test have an assert for an expected result too?
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 can do this, could be better. I will add this later.
This PR adds a method that can be used to get only the contained fragments for a list of smiles. This can then be used to intitialize the
Fragments
object only with the needed fragments. One could also think about adding a method which returns only the fragments with variance in it.