That was just a proof of concept piece of code. I wanted to process some
molecules and try to leave them intact. Thanks for information.
Pozdrawiam, | Best regards,
Maciek Wójcikowski
mac...@wojcikowski.pl
2012/11/8 Geoffrey Hutchison geo...@pitt.edu
Is pybel suppose to support 'copy'
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
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