OECreateSlnString

OECreateSlnString(str: str, mol: Union[OEGraphMol,OEMol,OEQMol],
                  flavor: int) -> None

Creates a Tripos SLN string representing a given molecule. Several variants of SLN format are supported by using different flavors from the OESLNFlag namespace.