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

Fix bug for tanimoto distance measure #144

Merged
merged 2 commits into from
Feb 20, 2021
Merged

Conversation

fhvermei
Copy link
Contributor

Simple bug fix for tanimoto measure introduced after changes for multiple molecules.
The other distance measures are not affected (I ran some tests).
Note that this function does not work for multiple molecules or for extra features (mol, atom and bond). There are currently no checks or warnings.

@fhvermei fhvermei added the bug Something isn't working label Feb 20, 2021
Copy link
Contributor

@cjmcgill cjmcgill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested tanimoto and morgan similarity and they work!

Copy link
Contributor

@hesther hesther left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Works (I had tested that this works yesterday anyways).

@hesther
Copy link
Contributor

hesther commented Feb 20, 2021

Note: I couldn't get the "embedding" option to run successfully though, but it seems to be a different, unrelated problem, so I think we should still merge this request, and care for the embedding option later on

@mliu49 mliu49 merged commit 0ce1129 into master Feb 20, 2021
@mliu49 mliu49 deleted the multiple_molecules_bugfix branch February 20, 2021 18:41
@hesther
Copy link
Contributor

hesther commented Feb 21, 2021

Just tried again - after suggestion from Chas, I produced a new, up-to-date checkpoint file, then the embedding option runs fine. It is not compatible with older checkpoint files though, and in that case throws a rather cryptic error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants