Re: [Cdk-user] Count fragment in molecule

2017-01-05 Thread John Mayfield
You can find more documentation on that class here: http://cdk.github.io/cdk/1.5/docs/api/index.html On 5 January 2017 at 14:57, Nikolas Glaser wrote: > Ah great, that was what i hoped to find. > Thanks a lot for the fast answer! > Niko > > John Mayfield

Re: [Cdk-user] Count fragment in molecule

2017-01-05 Thread Nikolas Glaser
Ah great, that was what i hoped to find. Thanks a lot for the fast answer! Niko John Mayfield schrieb am Do., 5. Jan. 2017 um 15:52 Uhr: > Niko, > > I do not need a complete code, just some information what i can use for > it. I want to try it by myself to learn

Re: [Cdk-user] Count fragment in molecule

2017-01-05 Thread John Mayfield
Niko, I do not need a complete code, just some information what i can use for it. > I want to try it by myself to learn more about cdk. It's a one liner... so I'm just going to give the answer: int count = Pattern.findSubstructure(frag).matchAll(mol).countUnique(); John On 5 January 2017 at