forlilab / Meeko

Interfacing RDKit and AutoDock
GNU Lesser General Public License v2.1
169 stars 41 forks source link

Fix import error by replacing rdkit.six with io.StringIO #121

Closed SergeiNikolenko closed 1 month ago

SergeiNikolenko commented 1 month ago

This pull request addresses an import error caused by the removal of six module in RDKit versions >= 2020.03.3. The import statement from rdkit.six import StringIO is replaced with from io import StringIO in meeko/rdkit_mol_create.py.

This change ensures compatibility with the latest RDKit versions and resolves the ModuleNotFoundError for rdkit.six.

diogomart commented 1 month ago

Thanks! But it's fixed already, just not released. ed395cc8c4c690d25a295c1ba81ee0f38c620dd4

96