OENameLocant

OENameLocant(loc: int, iupac: bool = False) -> str

Generate the lexical form of a Lexichem locant index. The molecules created by the function OEParseIUPACName are annotated with locant information in each atom’s integer atom type field. These locant indices may be retrieved using OEChem’s GetIntType method.