Skip to content

RDKit Conversion Issue #756

@zachcp

Description

@zachcp

Hi @padix-key ,

As a follow up to zachcp/moltite#1, I just tried to use this new feature and the conversion gives me an empty stack. I can track this down if needed but do you think you could confirm if this is reproducible on your end?

import rdkit
import biotite

print(biotite.__version__)
print(rdkit.__version__)
# 1.1.1.dev43+g4c7204af
# 2024.09.5


from rdkit import Chem
from biotite.interface import rdkit as irdk

# Example SMILES string
smiles = "CC(=O)OC1=CC=CC=C1"  # Aspirin

# Convert SMILES to mol object
mol = Chem.MolFromSmiles(smiles)

biotite_mol = irdk.from_mol(mol)
biotite_mol

# the conversion gives me an empty stack...
# stack([ ])

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