MolecularAI / aizynthfinder

A tool for retrosynthetic planning
https://molecularai.github.io/aizynthfinder/
MIT License
571 stars 130 forks source link

Hierarchy routes image not displaying #85

Closed sitanshubhunia closed 1 year ago

sitanshubhunia commented 1 year ago

Steps to Reproduce 1.Environment Windows11

  1. Open Command Prompt conda activate aizynth-env jupyter notebook

  2. in Jupyter notebook cell write the below mentioned lines and hit enter from aizynthfinder.interfaces import AiZynthApp app = AiZynthApp("E:\Data_AM\BAL\config.yml")

  3. In SMILES input, put

smiles.txt

  1. After that finder = app.finder stats = finder.extract_statistics()

from aizynthfinder.interfaces.gui import ClusteringGui ClusteringGui.from_app(app)

Expected behavior Hierarchy of the routes- image should display

Note: What I am doing wrong. Actual behavior

image

SGenheden commented 1 year ago

Sorry for the late reply. Try to use this code in the Notebook cell

%matplotlib inline
from aizynthfinder.interfaces.gui import ClusteringGui
ClusteringGui.from_app(app)
sitanshubhunia commented 1 year ago

@SGenheden Thanks. I am closing this.