OESetSDData

OESetSDData(mol: Union[OEGraphMol,OEMol,OEQMol], dp: OESDDataPair) -> bool
OESetSDData(mol: Union[OEGraphMol,OEMol,OEQMol], tag: str, value: str) -> bool

Sets an SD tag and value data pair to a molecule. Both the tag and the value must be a string. If an item with the same tag already exists, it is replaced with the new value.

See also

Code Example

Note

Unicode characters are not supported neither in the data tag nor in the data value.