chemaxon.io.importer

def import_mol(mol: str, options: str = '') -> chemaxon.molecule.Molecule:

Molecule import

You can find more information about file formats and options on the following link: https://docs.chemaxon.com/display/docs/formats_index.md

Here you can find the supported formats: https://docs.chemaxon.com/display/docs/python-api_limitations.md

Parameters

mol : str Input molecule string options : str This option is to specify the input format and options for the import

Raises

RuntimeError If the molecule contains more than 500 atoms / bonds

Returns

molecule : Molecule The imported molecule