My mistake, the method add() already does what you need... just can be more efficient.
IAtomContainer a; IAtomContainer b; a.add(b); John On 26 November 2016 at 16:56, John M <john.wilkinson...@gmail.com> wrote: > No convenience method, curiously addAtom() does a unique check (so that's > safe but inhibits the common case) but addBond(), etc doesn't. > > I'm actually going to update the add(IAtomContainer) method to do what you > need... > > John > > On 26 November 2016 at 16:39, Tim Dudgeon <tdudgeon...@gmail.com> wrote: > >> Given 2 molecules that have potentially overlapping subgraphs, is there >> a simple way to merge into a single structure? >> >> Of course there could potentially be multiple overlapping subgraphs so I >> suppose you would want to generate merged structures for each one. >> >> Tim >> >> >> ------------------------------------------------------------ >> ------------------ >> _______________________________________________ >> Cdk-user mailing list >> Cdk-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/cdk-user >> > >
------------------------------------------------------------------------------
_______________________________________________ Cdk-user mailing list Cdk-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cdk-user