3.2. Conversion Commands

Conversion commmands permit to convert chemical data from a format to another format. Mychem uses the Open Babel library for the conversion, but does not implement all the 80 chemical file formats supported by Open Babel. Mychem supports only few of them. They are detailed in Appendix E, Molecule Formats.

To avoid having to many functions, a set of two functions is available for each format: FORMAT_TO_MOLECULE and MOLECULE_TO_FORMAT. If you need other formats, please request it on the feature tracker.

Note

If a function of this section fails, it returns an empty string.