On May 4, 2009, at 4:50 AM, Vincent Le Guilloux wrote: > Hi, > > I have an exception while parsing a SMART string using a > SMARTQueryTool: > > csp[i] = new SMARTSQueryTool("O=C1NCCSc2ccccc12"); > > The exception message is the following: > > org.openscience.cdk.exception.CDKException: The string > O=C1NCCSc2ccccc12 is not a valid SMARTS string: Encountered "Sc" at > line 1, column 8. > Was expecting one of: > <EOF> > "!" ... > "-" ...
The parser is misreading the Sc part as scandium rather than a sulphur followed by an sp2 carbon. So it's a CDK issue. Can yuo file this as a big report? ------------------------------------------------------------------- Rajarshi Guha <rg...@indiana.edu> 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. ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Cdk-user mailing list Cdk-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cdk-user