Have you tried molA += molB? On Fri, 26 Apr 2019, 18:20 Lux QC, <lux...@yandex.com> wrote:
> Dear All, > > Greetings! > > What I want to do is to combine two molecules. > > I tried to combine two OBMol objects together, to obtain an OBMol object > which contains the coordinates of the two molecules. > > After checking the class reference of openbabel, I found OBMoleculeFormat. > When I import it from openbabel in python, however, I was told it doesn't > exist. Then I checked openbabel.py, there is no OBMoleculeFormat in it. > > Is there any other way to do this? > > Thank you in advance. > > Best regards, > QC > > > _______________________________________________ > OpenBabel-discuss mailing list > OpenBabel-discuss@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/openbabel-discuss >
_______________________________________________ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss