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})" |
in.xyz
Description: Xmol XYZ data
------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss