Skip to content

latest rdkit version is not compatible with chebai / SMILES canonicalisation needs to be updated #83

Description

@sfluegel05

I had some problems running Chebifier with the latest rdkit version (2024.9.6):

ImportError: cannot import name 'MolToMPL' from 'rdkit.Chem.Draw' (.venv2\Lib\site-packages\rdkit\Chem\Draw\__init__.py)

MolToMPL is used in result/molplot.py to create attention plots.

I was able to fix this by reverting rdkit to version 2024.3.6

Todo

  • Check if there is an alternative to MolToMPL (maybe rdkit just renamed it?)
  • If not, put rdkit <=2024.3.6 in the requirements

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    on-holdWork on this issue is temporarily pausedpriority: lowIssue with low priority

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions