Skip to content

Replace rdkit.six with six#385

Open
NicklasOsterbacka wants to merge 2 commits intomims-harvard:mainfrom
NicklasOsterbacka:main
Open

Replace rdkit.six with six#385
NicklasOsterbacka wants to merge 2 commits intomims-harvard:mainfrom
NicklasOsterbacka:main

Conversation

@NicklasOsterbacka
Copy link

This PR replaces every instance of rdkit.six functions with the six equivalent. This adds a six dependency, but makes TDC compatible with more recent versions of RDKit.

This fixes #374.

As a side note, completely migrating to Python 3 (and removing the six dependency) should be trivial; for instance, pickle works as a replacement for six.cPickle and instances of six.iteritems(fps) can be replaced by fps.items().

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 this pull request may close these issues.

pyTDC is not compatible with RDKit 2024.9.6

1 participant