OK, still doesn't work Properties sdfWriterProps = new Properties(); sdfWriterProps.put("writeAromaticBondTypes", "true"); writer.addChemObjectIOListener( new PropertiesListener(sdfWriterProps) ); writer.customizeJob();
If the bond type 4 is misused couldn't the SDF writer just write out the kekule version? On Tue, Aug 16, 2011 at 8:17 AM, Egon Willighagen <egon.willigha...@gmail.com> wrote: > On Tue, Aug 16, 2011 at 2:05 PM, Rajarshi Guha <rajarshi.g...@gmail.com> > wrote: >> Sorry for being slow today - but I looked at the article and you don't >> provide an examples of IOSetting usage > > Check the 'PropertiesListener' part. The API is the same for reader and > writers. > > Egon > > > -- > Dr E.L. Willighagen > Postdoctoral Researcher > Institutet för miljömedicin > Karolinska Institutet (http://ki.se/imm) > Homepage: http://egonw.github.com/ > LinkedIn: http://se.linkedin.com/in/egonw > Blog: http://chem-bla-ics.blogspot.com/ > PubList: http://www.citeulike.org/user/egonw/tag/papers > -- Rajarshi Guha NIH Chemical Genomics Center ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ Cdk-user mailing list Cdk-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cdk-user