mlchem.chem.manipulation.mol_to_binary¶
- mol_to_binary(mol: Mol) bytes¶
Convert an RDKit molecule object to its binary representation.
- Parameters:
mol (rdkit.Chem.rdchem.Mol) – An RDKit molecule object.
- Returns:
Binary representation of the molecule.
- Return type:
bytes