From: Rajarshi G. <rg...@in...> - 2009-02-24 17:08:54
|
On Feb 24, 2009, at 10:25 AM, Vincent Le Guilloux wrote: > I was also wondering if there is any basic example of usage of CDK API > (with source code), e.g. loading a sdf file and displaying molecules > in a 2D or 3D viewer? I've checked documentation available but I > haven't found anything like that. I have some utility methods that I use to speed things up. See http://rguha.net/code/java/#guhautils Note that the file reading helper methods are not meant to for large datasets - they're focused on convenience. One problem currently is that the 1.2.x release candidate does not contain depiction code, so I also provide a modified version of 1.2.x that combines the latest JChemPaint code to support depictions (though it's slightly broken at this point) In general, as Egon has pointed out, the best place for examples is the test sources ------------------------------------------------------------------- Rajarshi Guha <rg...@in...> GPG Fingerprint: D070 5427 CC5B 7938 929C DD13 66A1 922C 51E7 9E84 ------------------------------------------------------------------- Q: What's polite and works for the phone company? A: A deferential operator. |