Package org.openscience.cdk.tools

Examples of org.openscience.cdk.tools.ValencyHybridChecker


      mol = ConverterToInChI.getMolFromInChI(inchi);
      if(mol != null) {
        mol = new Molecule(mol);
        try {
          StructureConverter.configureMolecule(mol);
          new HydrogenAdder(new ValencyHybridChecker()).addExplicitHydrogensToSatisfyValency(mol);
          StructureConverter.addHydrogensForSilicon(mol);
        } catch (Exception e) {
          throw new Error(e);
        }
        HydrogenRemover.removeInsignificantHydrogens(mol);
View Full Code Here


 
  public ChEBIGenerics() {
    try {
      cache = new HashMap<String,List<String>>();
      sp = new SmilesParser(DefaultChemObjectBuilder.getInstance());
      ha = new HydrogenAdder(new ValencyHybridChecker());
      OBOOntology o = OBOOntology.getInstance();
     
      qacs = new HashMap<String, QueryAtomContainer>();
      qsmiles = new HashMap<String, String>();
      qid = new HashMap<String, String>();
View Full Code Here

    if(myInstance == null) myInstance = new StructureConverter();
    return myInstance;
  }
 
  private StructureConverter() throws Exception {
    checker = new ValencyHybridChecker();
    hydrogenAdder = new HydrogenAdder(checker);   
  }
View Full Code Here

TOP

Related Classes of org.openscience.cdk.tools.ValencyHybridChecker

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.