OEReadMonomerSet

Attention

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

bool OEReadMonomerSet(OEMonomerSet& monomers,
                      const std::string& jsonFileName)

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

bool OEReadMonomerSet(OEMonomerSet& monomers,
                      const std::string& jsonFileName,
                      const std::string& codeSet)

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.