2009/5/28 Om <ompan...@gmail.com>: > (1) cannot find symbol in class > org.openscience.cdk.io.MDLWriter.mw.setSdFields(map);
Use the new SDFWriter. > (2) When I comment mw.setSdFields(map) line, I get the structure (no > SD tag) printed out with following null pointer Exception > > Reason: null java.lang.NullPointerException > at java.io.Reader.<init>(Reader.java:61) > at java.io.InputStreamReader.<init>(InputStreamReader.java:55) > at > org.openscience.cdk.layout.TemplateHandler.loadTemplates(TemplateHandler.java:98) > at > org.openscience.cdk.layout.TemplateHandler.<init>(TemplateHandler.java:83) > at > org.openscience.cdk.layout.StructureDiagramGenerator.setMolecule(StructureDiagramGenerator.java:131) > at > org.openscience.cdk.layout.StructureDiagramGenerator.setMolecule(StructureDiagramGenerator.java:221) > at Smile2Str.GetStr(csv2sdf.java:47) > at csv2sdf.main(csv2sdf.java:102) > > Attached is code and data file That sounds like a bug. Which jar(s) are you using? Egon -- Post-doc @ Uppsala University http://chem-bla-ics.blogspot.com/ ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Cdk-user mailing list Cdk-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cdk-user