It is my understanding that the MDL spec requires all elements to be listed in the atom group. Therefore, the atoms in a G group do not need to (and probably should not) replace those in the atom group using replaceAtomByAtom method. After commenting out the G group reader if statement from the MDLV2000Reader class two things happened: 1. I stopped getting atom type R exceptions. 2. My substructure searches actually worked.
I see that this bug was reported a while back but it still exists in 1.2.2
John, can you comment?
Hmmm not sure...
The preferred way of doing this now is with Sgroups Abbreviations which we do support. What I should do is make the Group property set that.