OEReadMonomerSet

Attention

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

OEReadMonomerSet(monomers: OEMonomerSet, jsonFileName: str) -> bool

Reads all monomer definitions from the given json file and adds them to the the OEMonomerSet objects.

OEReadMonomerSet(monomers: OEMonomerSet, jsonFileName: str,
                 codeSet: str) -> bool

Reads all monomer definitions from the given json file and but only adds those to the OEMonomerSet objects which are defined in the given code-set.