On Apr 30, 2009, at 10:51 AM, Beesley, Angela wrote: > > Hi, > > It is me again!, I was trying to calculate fingerprints and used the > example from the web: > > Molecule molecule = new molecule(); > Bitset fingerprint = Fingerprinter.getFingerprint(molecule); > > I get the following error: > "non-static method getFingerprint > (org.openscience.cdk.interfaces.IAtom > Container) cannot be referenced from a static context" > > What am I doing wrong?
You need to instantiate a Fingerprinter object ------------------------------------------------------------------- Rajarshi Guha <[email protected]> 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 [email protected] https://lists.sourceforge.net/lists/listinfo/cdk-user

