add props; expose RingInfo class; some other cleanups

This commit is contained in:
Greg Landrum
2008-01-22 06:32:09 +00:00
parent 9a7bc955d0
commit d04da501ac
6 changed files with 43 additions and 17 deletions

View File

@@ -22,6 +22,9 @@ public class main {
System.out.println("bond: " + mol.getBondWithIdx(0).getBondType());
System.out.println("hss: " + RDKFuncs.HasSubstructMatch(mol,RDKFuncs.MolFromSmarts("c")));
System.out.println("hss: " + RDKFuncs.HasSubstructMatch(mol,RDKFuncs.MolFromSmarts("C")));
System.out.println("hss: " + RDKFuncs.HasSubstructMatch(mol,RDKFuncs.MolFromSmarts("C")));
RingInfo rI= mol.getRingInfo();
System.out.println("ri: " + rI.isAtomInRingOfSize(0,6) + " " + rI.isAtomInRingOfSize(0,5) );
}
}