greglandrum / rdkit-blog

RDKit blog
https://greglandrum.github.io/rdkit-blog/
5 stars 1 forks source link

rdkit-blog/posts/2023-12-01-using_sascore_and_npscore #28

Open utterances-bot opened 2 weeks ago

utterances-bot commented 2 weeks ago

RDKit blog - Calculating the SA_Score and NP_Score descriptors

How to use Python code from the RDKit Contrib directory.

https://greglandrum.github.io/rdkit-blog/posts/2023-12-01-using_sascore_and_npscore.html

gmseabra commented 2 weeks ago

Hi Greg,

Thanks for this info. Since the Contrib folder is already downloaded, may I ask why it is not just included in RDKit directly, so it could be imported simply with:

from rdkit import Contrib...

as we do with other parts of RDKit?

(I'm sure there's a reasoning behind it, I'm just curious what is it.)

Thanks a lot!

greglandrum commented 2 weeks ago

Hi @gmseabra, we treat the code in Contrib differently because we don't support it like we do the rest of the RDKit code. If it were included directly (or available by default) we would feel obligated to support it.

gmseabra commented 2 weeks ago

Got it, makes total sense. Thanks!