[Open Babel] Copy format in Pybel

2012-11-08 Thread Maciek Wójcikowski
Is pybel suppose to support 'copy' format? I try to make it work, but it generates empty string. Proof of concept: mol = pybel.readstring(smi, c1=CC=CC=c1) mol.write('copy') '' I'm on latest SVN openbabel + CentOS 6. Pozdrawiam, | Best regards, Maciek Wójcikowski

[Open Babel] Problems in Conformer Generation

2012-11-08 Thread Alessandro Nascimento
Hi Folks, I am working with a conformer generator program in C++ using openbabel API. Everything seems to work fine. However, with some molecules, I got a segmentation fault with little information. Using gdb, i figured out that it seems to be related to the reading of a MOL2 file, with the

[Open Babel] conformer search

2012-11-08 Thread Ioanna Kalvari
Hello, I am trying to generate conformations out of smiles strings. Followed your example using the ConformerSearch class but it appears as though I cannot write the multiple conformers in a single sdf file. The only information written when attempt to write the OBMOL object is the initial

Re: [Open Babel] Copy format in Pybel

2012-11-08 Thread Geoffrey Hutchison
Is pybel suppose to support 'copy' format? I try to make it work, but it generates empty string. No, the copy format relies on the C++ stream code. But why would you need it? In Python, you *have* the original file or string. So I'm a bit confused. -Geoff