On Fri, Nov 7, 2008 at 5:45 PM, Syed Asad Rahman <[EMAIL PROTECTED]> wrote: > It works with MDLV2000Reader as suggested by you but not with MDLReader.
No, that is to be expected. Files should be read with the proper reader for that format. > I was using MDLReader because the mols which I am handling are mixture of V3 > and V2 formats in my Database. Yeah, I agree that the naming of the classes is not overly intuitive... But... you can use the ReaderFactory.guessFormat() to get the format of a file, and with IChemFormat.getReaderClassName() you get to know which reader you should use to read that format. Egon -- ---- http://chem-bla-ics.blogspot.com/ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Cdk-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cdk-user

