Coot Scripting Interface  7000
Functions
sdf-interface.hh File Reference

Coot Scripting Interface - SDF/Molfile interface. More...

Go to the source code of this file.

Functions

int import_rdkit_mol_from_smiles (const std::string &smiles, const std::string &comp_id)
 import a molecule from a smiles string More...
 

Detailed Description

Coot Scripting Interface - SDF/Molfile interface.

Function Documentation

int import_rdkit_mol_from_smiles ( const std::string &  smiles,
const std::string &  comp_id 
)

import a molecule from a smiles string

RDKit is used to interpret the SMILES string

no dictionary is generated

Returns
a molecule number or -1 on failure