Examples of OpsinResult


Examples of uk.ac.cam.ch.wwmm.opsin.OpsinResult

 
  private boolean resolveVsOPSIN(ProcessState state, String name) {
    if(Oscar3Props.getInstance().useOPSIN == false) return false;
    try {
      boolean synonymInDoc = false;
      OpsinResult opsinResult = NameToStructure.getInstance().parseChemicalName(name, false);
      state.cmlMol = opsinResult.getCml();
      if(state.cmlMol != null) {
        state.inchi = NameToInchi.convertResultToInChI(opsinResult, false);
        IMolecule outputMol = StructureConverter.cmlToMolecule(state.cmlMol);
        StructureConverter.enhanceCMLMolecule(state.cmlMol, name, state.inchi);
        state.smiles = generator.createSMILES(outputMol);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.