Hi Dmitry, On Mon, Nov 28, 2011 at 4:39 PM, Dmitry Katsubo <[email protected]> wrote: > When I try to render the molecule from InChI=1S/H2O/h1H2, the renderer > generates image with zero height/width. Is there any limitation in CDK > preventing this molecule from being rendered? Is it somehow related to > the fact that this molecule has no carbons?
I will not have time to go through your complete code, but please compare it with this code (and replace methane with water, which I just tried), where I do get a proper image (attached): https://github.com/egonw/groovy-jcp/blob/master/renderImplicitHydrogens.groovy 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
<<attachment: water.png>>
------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________ Cdk-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cdk-user

