mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-05 22:04:27 +08:00
still not one would call perfect, but moving towards a not completely broken state
This commit is contained in:
@@ -27,9 +27,9 @@ public class main {
|
||||
System.out.println("atom: " + mol.getAtomWithIdx(0).getAtomicNum());
|
||||
System.out.println("bond: " + mol.getBondWithIdx(0).getIdx());
|
||||
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")));
|
||||
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) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user