Regarding your first question, you have LengthOverBreadthDescriptor le=new LengthOverBreadthDescriptor(); String s=le.calculate(molecule).getValue().toString();
>From le.calculate(molecule).getValue(), you should get a double array. I don't think the toString() method is the one to use here. Import Java.unit.Arrays and call Arrays.deepToString(le.calculate(molecule).getValue()), since the calculate method returns a double array. Cheers, Yannick On Tue, Oct 21, 2014 at 3:11 PM, Zheng Shi <zs...@ualberta.ca> wrote: > Hi, > > I have puzzles regarding calculating LengthOverBreadthDescriptors with > cdk. When I use the class to calculate, I just get two "NaN""NaN" as the > result. Why is it? I get confused. I use the following class. Why is it? > Thanks for your help. > > LengthOverBreadthDescriptor le=new LengthOverBreadthDescriptor(); > String s=le.calculate(molecule).getValue().toString(); > > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > _______________________________________________ > Cdk-user mailing list > Cdk-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/cdk-user > >
------------------------------------------------------------------------------
_______________________________________________ Cdk-user mailing list Cdk-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cdk-user