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

T022: Missing import GetMorganFingerprintAsBitVect #289

Closed
Tracked by #296 ...
mbackenkoehler opened this issue Dec 6, 2022 · 2 comments · Fixed by #296
Closed
Tracked by #296 ...

T022: Missing import GetMorganFingerprintAsBitVect #289

mbackenkoehler opened this issue Dec 6, 2022 · 2 comments · Fixed by #296

Comments

@mbackenkoehler
Copy link
Collaborator

T022 is missing the import of

from rdkit.Chem.rdMolDescriptors import GetMorganFingerprintAsBitVect

which is used in smiles_to_fp.

@dominiquesydow dominiquesydow changed the title Missing import in T022 T022: Missing import GetMorganFingerprintAsBitVect Dec 27, 2022
@dominiquesydow
Copy link
Collaborator

dominiquesydow commented Dec 30, 2022

Thanks for spotting this!

TODO: We are using

from rdkit.Chem.AllChem import GetMorganFingerprintAsBitVect

in T007 --- check which of these two imports we should go for.

@dominiquesydow
Copy link
Collaborator

from rdkit.Chem.AllChem import GetMorganFingerprintAsBitVect

still seems to be the default import, while

from rdkit.Chem.rdMolDescriptors import GetMorganFingerprintAsBitVect

is useful for advanced usage, see:
https://www.rdkit.org/docs/GettingStartedInPython.html#morgan-fingerprints-circular-fingerprints

@dominiquesydow dominiquesydow linked a pull request Dec 30, 2022 that will close this issue
16 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants