OEMonomerValidationReturnCode
Attention
This is a preliminary API and may be improved based on user feedback. It is currently available in C++ and Python.
The OEMonomerValidationReturnCode namespace
contains codes representing the success or various issues of monomer validation
when using the OEIsValidMonomerData function.
See also
OEMonomerDataclass
It contains the following constants:
Success
Represents that the monomer is valid.
InvalidMonomerCode
The monomer code is invalid:
empty string or more the 20 character long
contains character other than: alphanumerical,
-(dash),_(underscore),(or)or,(comma)UNKis a reserved name and should nt be used as a monomer code
InvalidMonomerRGroups
If the monomer has any invalid connection point defined my R-group map index.
InvalidMonomerSmiles
The monomer smiles is invalid, if the OEParseSmiles function return false.
InvalidMonomerType
The monomer type is invalid or does not match to the type
returned by the OEGetMonomerType function.
InvalidPolymerType
The polymer type is invalid or does not match to the type
returned by the OEGetPolymerType function.
MissingMonomerCode
If the monomer has not code specified for any code-set.
MissingMonomerRGroups
If the monomer has no connection point defined my R-group map index.
MissingMonomerSmiles
If no smiles specified for the monomer structure.
UnspecifiedAtomStereo
A monomer unspecified stereo at a chiral atom is considered invalid.
UnspecifiedBondStereo
A monomer unspecified bond at a chiral bond is considered invalid.