Package org.openscience.cdk.smiles

Examples of org.openscience.cdk.smiles.SmilesGenerator.create()


        e.printStackTrace();
      }
            this.mol=sw.toString();
            SmilesGenerator sg=SmilesGenerator.isomeric();
            try {
                smiles = sg.create(tocopy);
            } catch (CDKException ex) {
                logger.error("Could not create SMILES: ", ex.getMessage());
                logger.debug(ex);   
            }
            // SVG output
View Full Code Here


       
    StringBuilder sb = new StringBuilder();
        for(IAtomContainer container : ChemModelManipulator.getAllAtomContainers(model)) {
            if (sb.length() > 0)
                sb.append('.');
            sb.append(smigen.create(container));
        }
       
        return sb.toString();
  }
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.