Menu

#899 pybel can't output copyformat

2.3.x
open
nobody
None
1
2013-12-09
2013-10-21
cowsandmilk
No

pybel reports it can output copyformat, but it seemingly cannot.

In [1]: import pybel

In [2]: pybel.outformats['copy']
Out[2]: 'Copy raw text'

In [3]: mol = pybel.readfile("sdf", "Components-pub_less_than_300MW.sdf.gz").next()

In [4]: mol.write('copy','test.sdf')
Not a valid output format

Discussion