From: Joerg K. W. <we...@in...> - 2004-08-26 12:10:03
|
Hi JEAN-YVES, fine and you've found a new bug, i've already fixed yesterday. Please download the patched source code file from http://sourceforge.net/tracker/index.php?func=detail&aid=1016810&group_id=39708&atid=425969 and replace joelib/src/joelib/desc/types/atompair/TopologicalAtomPair.java Kind regards, Joerg > > > Dear Joerg, > > > My original problem with joelib program. > Using the command convert, I was able to convert SDF structures to SMILES > formats. > When I try to calculate descriptors (using calculateDesriptors), I got an > error message. > > > I did the modif suggested (and recompile): > > Replace > -124-Object objProperty = availProperties.get(property); > > by this patch add the ==null checking: > > -123-if(availProperties==null) return null; > -124-Object objProperty = availProperties.get(property); > > > > I go further but I still get the following message: > > > Best regards and many thanks for your answer. > > Jean-Yves > > > [jyl@neptune JOELib-20040729]$ sh calculateDescriptors.sh +jcc > ../examples.sdf > > > examplesout.sdfException in thread "main" java.lang.NullPointerException > at > joelib.desc.types.atompair.TopologicalAtomPair.calculate(TopologicalAtomPair.java:250) > at > joelib.desc.types.atompair.TopologicalAtomPair.calculate(TopologicalAtomPair.java:198) > at > joelib.desc.DescriptorHelper.descFromMol(DescriptorHelper.java:248) > at joelib.desc.DescriptorHelper.descFromMol(DescriptorHelper.java:518) > at > joelib.test.DescriptorCalculation.getAndStoreDescriptor(DescriptorCalculation.java:594) > at > joelib.test.DescriptorCalculation.calculateNumericDescriptors(DescriptorCalculation.java:311) > at > joelib.test.DescriptorCalculation.main(DescriptorCalculation.java:108)[jyl@neptune > JOELib-20040729]$ more examplesout.sdf > > > > > > > > > > > > Dear JEAN-YVES, > > please use use for further correspondence one of the mailing lists to > avoid me answering questions mulitple times: > http://sourceforge.net/mail/?group_id=39708 > > I hope this is no problem with your disclaimer. > > > Have you some Idea on what can be wrong ? > As discussed yesterday on the mailing list, this is a bug fixed yesterday: > http://sourceforge.net/tracker/index.php?func=detail&aid=1015124&group_id=39708&atid=425969 > > > > >>Best regards >>Jean-Yves > > > Kind regards, Joerg > > > > > > > > ********************************************************************** > DISCLAIMER > This email and any files transmitted with it, including replies and > forwarded copies (which may contain alterations) subsequently > transmitted from Firmenich, are confidential and solely for the use > of the intended recipient. > The contents do not represent the opinion of Firmenich except > to the extent that it relates to their official business. > ********************************************************************** > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Joelib-help mailing list > Joe...@li... > https://lists.sourceforge.net/lists/listinfo/joelib-help > -- Dipl. Chem. Joerg K. Wegner Center of Bioinformatics Tuebingen (ZBIT) Department of Computer Architecture Univ. Tuebingen, Sand 1, D-72076 Tuebingen, Germany Phone: (+49/0) 7071 29 78970 Fax: (+49/0) 7071 29 5091 E-Mail: mailto:we...@in... WWW: http://www-ra.informatik.uni-tuebingen.de -- Never mistake motion for action. (E. Hemingway) Never mistake action for meaningful action. (Hugo Kubinyi,2004) |