OEGetSDData¶
std::string OEGetSDData(const OEMolBase &mol, const std::string &tag)
Returns the SD data for the given tag. If the molecule does not have that tag, an empty string is returned. If there are multiple items with the same tag, only the first data is returned.
See also
OEGetSDDataPairs
function to access multiple items with the same tagOEAddSDData
andOESetSDData
functionsSD Tagged Data Manipulation section
Code Example
Exporting SD data to a csv file example
Filter molecules by SD data example