Skip to content

SMILE interpreter in python #2087

Answered by njzjz
BiocharModeling asked this question in Q&A
Discussion options

You must be logged in to vote

The SMILES in Python is generated by RDKit. Sadly, per rdkit/rdkit#6613, RDKit fills all atoms with implicit Hs, and there's no option to disable it.

The SMILES in HTML is converted by a regex rule

https://github.com/tongzhugroup/reacnetgenerator/blob/b5a16eb90cdf1eca03738218eba5044d2f151fec/reacnetgenerator/_reachtml.py#L69-L99

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@njzjz
Comment options

@BiocharModeling
Comment options

@njzjz
Comment options

njzjz Jan 6, 2024
Maintainer

Answer selected by Eipgen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants