From: Lee-Ping W. <le...@st...> - 2014-09-28 18:15:36
|
Hi there, When I use the following one-liner to convert in.xyz to out.svg, the CO2 molecule is incorrectly represented as three overlapping letters (so it looks like a single atom). In the svg file, the coordinates are exactly the same. I wonder what could be causing this? I have tried to set all the coordinates to zero, and it gives the same result. On the other hand, if the source is canonical SMILES then the depiction of the molecules is correct. Thanks, - Lee-Ping python -c "import pybel ; p = pybel.readfile('xyz', 'in.xyz').next() ; p.title = 'Bottom left is supposed to be CO2' ; p.write('svg', 'out.svg', opt={'a':True})" |