pckroon / pysmiles

A lightweight python-only library for reading and writing SMILES strings
Apache License 2.0
147 stars 21 forks source link

Stereochemistry #9

Closed nshervt closed 5 years ago

nshervt commented 5 years ago

I was trying to get the nodes and adjacency matrix of a drug-like molecule. While doing this, I encountered the following message:

I don't quite know how to handle stereo yet...

However, code returns nodes vector and adjacency matrix that I wanted. I was wondering if the returned values are valid or they should be discarded.

pckroon commented 5 years ago

Hi,

Yes, the graph parsed should still be valid, but any stereochemical information (R/S and E/Z) will have been discarded.

nshervt commented 5 years ago

Thanks!