-
Notifications
You must be signed in to change notification settings - Fork 97
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
SP3A2C #32
base: develop
Are you sure you want to change the base?
SP3A2C #32
Conversation
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'm sorry, CI was still broken when you sent PR 😢
It was fixed on latest develop branch. Please rebase from latest develop.
@@ -0,0 +1,43 @@ | |||
# Based on the code from https://github.com/rdkit/rdkit/blob/master/Contrib/PBF/pbf.py |
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.
Where is SP3A2C?
Please tell me article, book or other resorce.
def __str__(self): | ||
return self.__class__.__name__ | ||
|
||
def __init__(self, type="PBF"): |
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.
__init__
function is needless.
|
||
def test_SP3A2C(): | ||
m = Chem.MolFromSmiles('O=C(CC#N)N1CCC[C@H](C1)Nc1ccnc(n1)-c1cnc2ccc(cn12)C#N') | ||
yield assert_almost_equal, SP3A2C()(m), 0.833, 2 |
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.
Where is the reference?
class SP3A2C(Descriptor): | ||
r"""SP3A2C descriptor. | ||
""" | ||
|
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.
please add __slots__ = ()
attribute
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.
and add since = "1.1.0"
attribute, please (it is used preset versionning in current develop branch).
No description provided.