Re: [Open Babel] chemdraw bond lenghts

2012-08-06 Thread cadeddu
To conclude: this small workaround works - but great care must be taken into checking the structures: -- import pybel, openbabel mol=pybel.readfile("cdx", "benzene_acs.cdx").next() factor=1.39/1.89 # this is the error of the bond length: real valu

Re: [Open Babel] chemdraw bond lenghts

2012-03-06 Thread cadeddu
I can confirm that Doug's solution works. the series: babel -icdxml benzene.cdxml -osdf benzene3d.sdf --gen3D babel -isdf benzene3d.sdf -opdb benzeneViaSdfgen.pdb --gen2D works fine. thank you! ps: maybe we should add this /escamotage/ to the wiki? -- View this message in context: http://foru

Re: [Open Babel] chemdraw bond lenghts

2012-03-06 Thread cadeddu
> > > Quoting cadeddu on Tue, 6 Mar 2012 03:06:02 -0800 (PST): > >> seems that files converted from the cdx or cdxml have wrong bond lenght (I've >> the feeling that is related to the document properties in chemoffice); >> benzene bond lenght --> 70Angstrom &g

[Open Babel] chemdraw bond lenghts

2012-03-06 Thread cadeddu
seems that files converted from the cdx or cdxml have wrong bond lenght (I've the feeling that is related to the document properties in chemoffice); benzene bond lenght --> 70Angstrom anyone has already find a solution? I'm thinking to something like a "feed2babel" style, or something similar. tha