Molecule.toFormat("smiles") deprecation?

User 55ffa2f197

19-02-2012 21:23:27

Hi,


I noticed that Molecule.toFormat( "smiles" ) has been deprecated. If it is so what's the replacement.?


Thanks


Dong

ChemAxon 5433b8e56b

20-02-2012 09:18:55

Hi Dong,


yes it is deprecated, please use chemaxon.formats.MolExporter.exportToFormat(Molecule, String) instead. It requires the molecule which you want to export, and the format string just as it worked for the Molecule.toFormat method before.


Regards,
Istvan