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

Empty molecule has non-zero LabuteASA #2948

Closed
jasondbiggs opened this issue Feb 10, 2020 · 3 comments
Closed

Empty molecule has non-zero LabuteASA #2948

jasondbiggs opened this issue Feb 10, 2020 · 3 comments
Assignees
Labels
Milestone

Comments

@jasondbiggs
Copy link
Contributor

It probably doesn't matter what property values are returned for empty molecules, but it struck me as odd:

Chem.rdMolDescriptors.CalcLabuteASA(Chem.Mol())

1.3684777599037141

Seems to come from here, https://github.com/rdkit/rdkit-orig/blob/master/Code/GraphMol/Descriptors/MolSurf.cpp#L76-L78

@bp-kelley
Copy link
Contributor

Hah! That is a pretty funny result. Good sleuthing!

@greglandrum greglandrum added this to the 2019_09_4 milestone Feb 11, 2020
@greglandrum
Copy link
Member

Yeah, nice catch and thanks for pointing out exactly where the problem is!

@greglandrum greglandrum self-assigned this Feb 11, 2020
greglandrum added a commit to greglandrum/rdkit that referenced this issue Feb 11, 2020
@jasondbiggs
Copy link
Contributor Author

@greglandrum thanks for the quick fix. Our QA found this one ("A QA engineer walks into a bar ...").

bp-kelley pushed a commit that referenced this issue Feb 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants