Skip to content

latest rdkit version is not compatible with chebai #83

@sfluegel05

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions