molecule
#
Functions:
-
mol_to_smiles–Convert a molecule to a SMILES string with atom mapping.
mol_to_smiles
#
Convert a molecule to a SMILES string with atom mapping.
Parameters:
-
mol(Mol) –The molecule to convert.
-
canonical(bool, default:True) –Whether to canonicalize the atom ordering prior to assigning map indices.
Returns:
-
str–The SMILES string.