Dear all,

i am trying to create SMARTS-Pattern for a structure.
The structure is an AtomContainer and read from an MDL file.
If i try to call Smarts.generate( AtomContainer )
i get this error message:

java.lang.ClassCastException: org.openscience.cdk.Bond cannot be cast to 
org.openscience.cdk.isomorphism.matchers.QueryBond

Has anyone a clue, where my mistake is?

Many thanks,
   Manuel Stesycki

IT
   0208 / 306-2146
   Physikbau, Büro 117
   stesy...@mpi-muelheim.mpg.de<mailto:stesy...@mpi-muelheim.mpg.de>

Max-Planck-Institut für Kohlenforschung
   Kaiser-Wilhelm-Platz 1
   D-45470 Mülheim an der Ruhr
   http://www.kofo.mpg.de/de

_______________________________________________
Cdk-user mailing list
Cdk-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdk-user

Reply via email to