OECreateAtomSmartsString

Attention

This is a preliminary API and may be improved based on user feedback. It is currently available in C++ and Python.

OECreateSmartsAtomString(OEAtomBase atm, int atomflags, bool delim=True) -> str

For a specified atom, generate a SMARTS string of query qualifiers based on the specified atom’s environment and using the constraints defined by the OESMARTSAtomFlag namespace. The bExplicitDelim argument indicates if the generated property list should be explicitly ; delimited in the output to simplify post-processing for custom constraint generations.