image upside down from drawing

User 870ab5b546

25-11-2014 20:37:07

OK, here's a weird one. This source code generated in MarvinJS:


<cml><MDocument><MChemicalStruct><molecule molID="m1"><atomArray><atom id="a1" elementType="C" x2="-7.940625190734863" y2="2.7912497520446777"/><atom id="a2" elementType="C" x2="-6.400625190734863" y2="2.7912497520446777"/><atom id="a3" elementType="C" x2="-4.860625190734863" y2="2.7912497520446777"/><atom id="a4" elementType="C" x2="2.40625" y2="4.427500009536743"/><atom id="a5" elementType="C" x2="3.94625" y2="4.427500009536743"/><atom id="a6" elementType="C" x2="5.48625" y2="4.427500009536743" formalCharge="-1"/><atom id="a7" elementType="C" x2="-5.197499990463257" y2="-3.7537500858306885"/><atom id="a8" elementType="C" x2="-3.657499990463257" y2="-3.7537500858306885"/><atom id="a9" elementType="C" x2="-2.1174999904632568" y2="-3.7537500858306885"/><atom id="a10" elementType="C" x2="-0.5774999904632567" y2="-3.7537500858306885"/><atom id="a11" elementType="C" x2="0.1925000095367435" y2="-5.087429207658724"/><atom id="a12" elementType="C" x2="1.9731249809265137" y2="2.309999942779541"/><atom id="a13" elementType="C" x2="3.5131249809265137" y2="2.309999942779541"/><atom id="a14" elementType="Br" x2="4.283124980926514" y2="0.9763208209515057"/><atom id="a15" elementType="C" x2="-8.020624876022339" y2="4.102083404858907" mrvPseudo="1"/><atom id="a16" elementType="C" x2="5.562708457310994" y2="2.602083404858907" mrvPseudo="2"/></atomArray><bondArray><bond atomRefs2="a1 a2" order="1"/><bond atomRefs2="a2 a3" order="3"/><bond atomRefs2="a4 a5" order="1"/><bond atomRefs2="a5 a6" order="3"/><bond atomRefs2="a7 a8" order="1"/><bond atomRefs2="a8 a9" order="3"/><bond atomRefs2="a9 a10" order="1"/><bond atomRefs2="a10 a11" order="1"/><bond atomRefs2="a12 a13" order="1"/><bond atomRefs2="a13 a14" order="1"/></bondArray></molecule></MChemicalStruct><MRectangle lineColor="#000000" id="o1"><MPoint x="-9.520624876022339" y="0.6020834048589071"/><MPoint x="-2.770624876022339" y="0.6020834048589071"/><MPoint x="-2.770624876022339" y="5.393750071525574"/><MPoint x="-9.520624876022339" y="5.393750071525574"/></MRectangle><MRectangle lineColor="#000000" id="o2"><MPoint x="-0.06229154268900553" y="-0.1895832618077596"/><MPoint x="7.104375123977661" y="-0.1895832618077596"/><MPoint x="7.104375123977661" y="5.518750071525574"/><MPoint x="-0.06229154268900553" y="5.518750071525574"/></MRectangle><MRectangle lineColor="#000000" id="o3"><MPoint x="-7.145624876022339" y="-6.647916595141093"/><MPoint x="2.396041790644327" y="-6.647916595141093"/><MPoint x="2.396041790644327" y="-2.0645832618077593"/><MPoint x="-7.145624876022339" y="-2.0645832618077593"/></MRectangle><MPolyline headLength="0.6" headWidth="0.4" id="o4"><MRectanglePoint rectRef="o1" pos="5"/><MRectanglePoint rectRef="o2" pos="7"/></MPolyline><MPolyline headLength="0.6" headWidth="0.4" id="o5"><MRectanglePoint rectRef="o2" pos="3"/><MRectanglePoint rectRef="o3" pos="4"/></MPolyline></MDocument></cml>

looks like the structure on the left in MarvinJS, but when I send it to JChem to make an image URI, it comes out looking like the structure on the right. ??!? Options used to generate the image are png:w250,h201,valenceErrorVisible,H_heteroterm,cv_inChain.

ChemAxon 76c88f5366

03-12-2014 16:23:33

Thank you for reporting this issue. We are working on it.
We will notify you when it is fixed.


Best regards, 
Eszter 

User 870ab5b546

03-12-2014 16:54:30

Thanks. Note that the bug described in this topic may be related.

ChemAxon 7c2d26e5cf

12-12-2014 12:30:34

Yes, we handle these two issues together.