Is there an option to avoid sanitization of a molecule when reading from
SMILES?
For example I'd like the SMILES to remain unchanged if I read and write it:

mol = pybel.readstring('smi', 'O=C1C=COC(=C1(O))C')
mol.write()
O=c1ccoc(c1O)C

Beside kekulization issues, other unwanted sanitizations are the addition
of Hs if I generate the molecule from SMILES fragments (partial SMILES)

Thank you
Thomas
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to