Conversion Commands

The conversion module provides functions for converting chemical data. Open Babel supports over 80 chemical file formats. To avoid having to many functions, this module defines a set of two functions for each format: FORMAT_TO_MOLECULE and MOLECULE_TO_FORMAT. However, new functions, like CML_TO_SMILES, can be requested on the feature tracker.

Note

If a function of the conversion module fails, it returns an empty string.