User 870ab5b546
20-04-2007 12:53:54
The following structure cannot be loaded into MarvinSketch. An error is generated, "error in line 268" if you try to import the source, nothing if you try to Paste, or an ArrayOutOfBoundsException: 49 if you try to load it into MarvinView in a jsp page. I think the problem is that the student has drawn an isolated EtO shortcut group not attached to anything, but I could be wrong. In any case, whatever the error is, it should not prevent the structrue from being loaded.
Code: |
<?xml version="1.0" ?> <MDocument> <MPolyline id="o1" color="#000000" headLength="0.8" headWidth="0.5"> <MPoint x="4.716249942779541" y="-2.213749885559082" /> <MPoint x="0.2887499928474426" y="-1.203125" /> </MPolyline> <MPolyline id="o2" color="#000000" headLength="0.8" headWidth="0.5"> <MPoint x="7.940625190734863" y="6.400625228881836" /> <MPoint x="5.823124885559082" y="3.898124933242798" /> </MPolyline> <MPolyline id="o3" color="#000000" headLength="0.8" headWidth="0.5"> <MPoint x="3.5612499713897705" y="6.545000076293945" /> <MPoint x="4.956874847412109" y="6.352499961853027" /> </MPolyline> <MPolyline id="o4" color="#000000" headLength="0.8" headWidth="0.5"> <MPoint x="-5.101250171661377" y="6.111875057220459" /> <MPoint x="0.38499999046325684" y="6.496874809265137" /> </MPolyline> <MRectangle id="o5" color="#000000"> <MPoint x="-5.919374942779541" y="3.0799999237060547" /> <MPoint x="0.6256250143051147" y="3.0799999237060547" /> <MPoint x="0.6256250143051147" y="-1.6843750476837158" /> <MPoint x="-5.919374942779541" y="-1.6843750476837158" /> </MRectangle> <MRectangle id="o6" color="#000000"> <MPoint x="4.042500019073486" y="4.571875095367432" /> <MPoint x="9.817500114440918" y="4.571875095367432" /> <MPoint x="9.817500114440918" y="-4.379374980926514" /> <MPoint x="4.042500019073486" y="-4.379374980926514" /> </MRectangle> <MRectangle id="o7" color="#000000"> <MPoint x="4.76437520980835" y="11.309374809265137" /> <MPoint x="11.213125228881836" y="11.309374809265137" /> <MPoint x="11.213125228881836" y="5.775000095367432" /> <MPoint x="4.76437520980835" y="5.775000095367432" /> </MRectangle> <MRectangle id="o8" color="#000000"> <MPoint x="-1.8768750429153442" y="11.116874694824219" /> <MPoint x="3.8499999046325684" y="11.116874694824219" /> <MPoint x="3.8499999046325684" y="6.06374979019165" /> <MPoint x="-1.8768750429153442" y="6.06374979019165" /> </MRectangle> <MRectangle id="o9" color="#000000"> <MPoint x="-10.876250267028809" y="10.68375015258789" /> <MPoint x="-3.994374990463257" y="10.68375015258789" /> <MPoint x="-3.994374990463257" y="4.716249942779541" /> <MPoint x="-10.876250267028809" y="4.716249942779541" /> </MRectangle> <MEFlow id="o10" color="#000000" arcAngle="-254.995522631729" headSkip="0.25" headLength="0.5" headWidth="0.4" tailSkip="0.15"> <MAtomSetPoint atomRefs="m1.a25 m1.a26" /> <MAtomSetPoint atomRefs="m1.a25" /> </MEFlow> <MEFlow id="o11" color="#000000" arcAngle="-150.0" headSkip="0.15" headLength="0.5" headWidth="0.4" tailSkip="0.25"> <MAtomSetPoint atomRefs="m1.a22" /> <MAtomSetPoint atomRefs="m1.a22 m1.a26" weights="0.25 0.75" /> </MEFlow> <MEFlow id="o12" color="#000000" arcAngle="-254.995522631729" headSkip="0.25" headLength="0.5" headWidth="0.4" tailSkip="0.15"> <MAtomSetPoint atomRefs="m1.a16 m1.a17" /> <MAtomSetPoint atomRefs="m1.a17" /> </MEFlow> <MEFlow id="o13" color="#000000" arcAngle="150.0" headSkip="0.15" headLength="0.5" headWidth="0.4" tailSkip="0.25"> <MAtomSetPoint atomRefs="m1.a50" /> <MAtomSetPoint atomRefs="m1.a50 m1.a16" weights="0.25 0.75" /> </MEFlow> <MEFlow id="o14" color="#000000" arcAngle="-254.995522631729" headSkip="0.25" headLength="0.5" headWidth="0.4" tailSkip="0.15"> <MAtomSetPoint atomRefs="m1.a12 m1.a13" /> <MAtomSetPoint atomRefs="m1.a13" /> </MEFlow> <MEFlow id="o15" color="#000000" arcAngle="-254.995522631729" headSkip="0.15" headLength="0.5" headWidth="0.4" tailSkip="0.25"> <MAtomSetPoint atomRefs="m1.a12" /> <MAtomSetPoint atomRefs="m1.a11 m1.a12" /> </MEFlow> <MEFlow id="o16" color="#000000" arcAngle="-182.17399554899995" headSkip="0.15" headLength="0.5" headWidth="0.4" tailSkip="0.15"> <MAtomSetPoint atomRefs="m1.a10 m1.a11" /> <MAtomSetPoint atomRefs="m1.a10 m1.a12" weights="0.25 0.75" /> </MEFlow> <MEFlow id="o17" color="#000000" arcAngle="248.39738999999997" headSkip="0.25" headLength="0.5" headWidth="0.4" tailSkip="0.15"> <MAtomSetPoint atomRefs="m1.a3 m1.a9" /> <MAtomSetPoint atomRefs="m1.a3" /> </MEFlow> <MEFlow id="o18" color="#000000" arcAngle="235.9971" headSkip="0.15" headLength="0.5" headWidth="0.4" tailSkip="0.25"> <MAtomSetPoint atomRefs="m1.a6" /> <MAtomSetPoint atomRefs="m1.a6 m1.a9" weights="0.25 0.75" /> </MEFlow> <MChemicalStruct> <molecule molID="m1"> <atomArray atomID="a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15 a16 a17 a18 a19 a20 a21 a22 a23 a24 a25 a26 a27 a28 a29 a30 a31" elementType="R C C Br O R Na H H R C C Br O O C C R R O C C R R O H R C C R O" formalCharge="0 0 0 0 0 0 0 0 0 0 0 -1 0 0 0 0 0 0 0 0 0 -1 0 0 0 0 0 0 0 0 0" sgroupRef="sg1 0 0 0 0 sg2 0 0 0 sg3 0 0 0 0 0 0 0 sg4 sg5 0 0 0 sg6 sg7 0 0 sg8 0 0 sg9 0" x2="-9.625 -8.291320878171964 -6.803795105686799 -5.714850662659516 -8.689902207629846 -6.689374923706055 -8.02305404553409 -8.137474227514835 -5.714850662659516 -0.8662499785423279 0.46742914328570784 1.8011082651137436 2.8900527081410265 0.06884781382782607 6.929999828338623 7.328581157796505 8.66226027962454 10.149786052109706 6.641250133514404 6.641250133514404 6.641250133514404 7.730194576541687 9.063873698369722 5.307571011686369 7.988749980926514 6.655070859098478 -4.235000133514404 -2.9013210116863686 -1.5676418898583329 -0.47869744683104964 -3.2999023411442505" y2="7.603750228881836 8.373750228881836 7.975168899423954 9.064113342451238 9.861276001367 6.06374979019165 5.29374979019165 7.2051688994239536 6.886224456396671 7.988749980926514 8.758749980926513 7.988749980926514 9.077694423953798 10.246275753411679 10.346875190734863 8.859349418249698 8.089349418249698 8.48793074770758 6.641250133514404 2.8393750190734863 1.2993750190734863 0.21043057604620308 0.980430576046203 0.5293750190734857 -2.8393750190734863 -2.069375019073486 -0.2887499928474426 0.4812500071525573 -0.2887499928474426 0.8001944501798406 1.9687757796377223" /> <bondArray> <bond atomRefs2="a2 a3" order="1" /> <bond atomRefs2="a3 a4" order="1" /> <bond atomRefs2="a2 a5" order="2" /> <bond atomRefs2="a3 a8" order="1" /> <bond atomRefs2="a3 a9" order="1" /> <bond atomRefs2="a11 a12" order="1" /> <bond atomRefs2="a12 a13" order="1" /> <bond atomRefs2="a11 a14" order="2" /> <bond atomRefs2="a15 a16" order="2" /> <bond atomRefs2="a16 a17" order="2" /> <bond atomRefs2="a20 a21" order="2" /> <bond atomRefs2="a21 a22" order="1" /> <bond atomRefs2="a25 a26" order="1" /> <bond atomRefs2="a28 a29" order="1" /> <bond atomRefs2="a28 a31" order="2" /> <bond atomRefs2="a29 a30" order="1" /> <bond atomRefs2="a27 a28" order="1" /> <bond atomRefs2="a21 a24" order="1" /> <bond atomRefs2="a22 a23" order="1" /> <bond atomRefs2="a17 a18" order="1" /> <bond atomRefs2="a10 a11" order="1" /> <bond atomRefs2="a6 a7" order="1" /> <bond atomRefs2="a1 a2" order="1" /> </bondArray> <molecule id="sg1" role="SuperatomSgroup" title="Ph" molID="m2"> <atomArray atomID="a32 a33 a34 a35 a36 a37" elementType="C C C C C C" attachmentPoint="1 0 0 0 0 0" x2="-9.961874961853027 -8.62819584002499 -8.62819584002499 -9.961874961853026 -11.295554083681061 -11.295554083681063" y2="5.871250114440917 6.6412501144409175 8.181250114440918 8.951250114440917 8.18125011444092 6.641250114440918" /> <bondArray> <bond atomRefs2="a32 a33" order="2" /> <bond atomRefs2="a32 a37" order="1" /> <bond atomRefs2="a33 a34" order="1" /> <bond atomRefs2="a34 a35" order="2" /> <bond atomRefs2="a35 a36" order="1" /> <bond atomRefs2="a36 a37" order="2" /> </bondArray> </molecule> <molecule id="sg2" role="SuperatomSgroup" title="OEt" leftName="EtO" molID="m3"> <atomArray atomID="a38 a39 a40" elementType="O C C" attachmentPoint="1 0 0" x2="-8.02305404553409 -6.689374923706055 -5.355695801878019" y2="6.320416456858317 5.550416456858317 6.320416456858317" /> <bondArray> <bond atomRefs2="a39 a38" order="1" /> <bond atomRefs2="a40 a39" order="1" /> </bondArray> </molecule> <molecule id="sg3" role="SuperatomSgroup" title="Ph" molID="m4"> <atomArray atomID="a41 a42 a43 a44 a45 a46" elementType="C C C C C C" attachmentPoint="1 0 0 0 0 0" x2="-1.1549999713897714 0.1786791504382661 0.1786791504382661 -1.1549999713897694 -2.4886790932178053 -2.4886790932178062" y2="6.6412496185302725 7.411249618530273 8.951249618530273 9.721249618530273 8.951249618530275 7.411249618530274" /> <bondArray> <bond atomRefs2="a41 a42" order="2" /> <bond atomRefs2="a41 a46" order="1" /> <bond atomRefs2="a42 a43" order="1" /> <bond atomRefs2="a43 a44" order="2" /> <bond atomRefs2="a44 a45" order="1" /> <bond atomRefs2="a45 a46" order="2" /> </bondArray> </molecule> <molecule id="sg4" role="SuperatomSgroup" title="Ph" molID="m5"> <atomArray atomID="a47 a48 a49 a50 a51 a52" elementType="C C C C C C" attachmentPoint="1 0 0 0 0 0" x2="9.913749694824219 11.247428816652256 11.247428816652256 9.91374969482422 8.580070572996185 8.580070572996183" y2="6.881874999999999 7.6518749999999995 9.191875 9.961875 9.191875000000001 7.651875" /> <bondArray> <bond atomRefs2="a47 a48" order="2" /> <bond atomRefs2="a47 a52" order="1" /> <bond atomRefs2="a48 a49" order="1" /> <bond atomRefs2="a49 a50" order="2" /> <bond atomRefs2="a50 a51" order="1" /> <bond atomRefs2="a51 a52" order="2" /> </bondArray> </molecule> <molecule id="sg5" role="SuperatomSgroup" title="OEt" leftName="EtO" molID="m6"> <atomArray atomID="a53 a54 a55" elementType="C C O" attachmentPoint="0 0 1" x2="7.97492925534244 6.641250133514404 5.307571011686369" y2="6.897916800181071 6.127916800181071 6.897916800181071" /> <bondArray> <bond atomRefs2="a53 a54" order="1" /> <bond atomRefs2="a54 a55" order="1" /> </bondArray> </molecule> <molecule id="sg6" role="SuperatomSgroup" title="Ph" molID="m7"> <atomArray atomID="a56 a57 a58 a59 a60 a61" elementType="C C C C C C" attachmentPoint="1 0 0 0 0 0" x2="9.047499656677246 10.381178778505284 10.381178778505284 9.047499656677248 7.713820534849211 7.71382053484921" y2="-0.7218749904632573 0.04812500953674281 1.5881250095367427 2.358125009536743 1.5881250095367436 0.0481250095367437" /> <bondArray> <bond atomRefs2="a56 a57" order="2" /> <bond atomRefs2="a56 a61" order="1" /> <bond atomRefs2="a57 a58" order="1" /> <bond atomRefs2="a58 a59" order="2" /> <bond atomRefs2="a59 a60" order="1" /> <bond atomRefs2="a60 a61" order="2" /> </bondArray> </molecule> <molecule id="sg7" role="SuperatomSgroup" title="OEt" leftName="EtO" molID="m8"> <atomArray atomID="a62 a63 a64" elementType="O C C" attachmentPoint="1 0 0" x2="3.334446030759855 4.668125152587891 6.001804274415926" y2="0.7379166547457375 -0.032083345254262596 0.737916654745738" /> <bondArray> <bond atomRefs2="a63 a62" order="1" /> <bond atomRefs2="a64 a63" order="1" /> </bondArray> </molecule> <molecule id="sg8" role="SuperatomSgroup" title="OEt" leftName="EtO" molID="m9"> <atomArray atomID="a65 a66 a67" elementType="O C C" attachmentPoint="1 0 0" x2="-5.61680404553409 -4.283124923706055 -2.949445801878019" y2="-0.22458332141240456 -0.9945833214124047 -0.2245833214124041" /> <bondArray> <bond atomRefs2="a66 a65" order="1" /> <bond atomRefs2="a67 a66" order="1" /> </bondArray> </molecule> <molecule id="sg9" role="SuperatomSgroup" title="Ph" molID="m10"> <atomArray atomID="a68 a69 a70 a71 a72 a73" elementType="C C C C C C" attachmentPoint="1 0 0 0 0 0" x2="0.24062499403953463 1.5743041158675721 1.5743041158675721 0.24062499403953663 -1.0930541277884993 -1.0930541277885002" y2="-0.6737500214576726 0.09624997854232753 1.6362499785423275 2.406249978542328 1.6362499785423283 0.09624997854232842" /> <bondArray> <bond atomRefs2="a68 a69" order="2" /> <bond atomRefs2="a68 a73" order="1" /> <bond atomRefs2="a69 a70" order="1" /> <bond atomRefs2="a70 a71" order="2" /> <bond atomRefs2="a71 a72" order="1" /> <bond atomRefs2="a72 a73" order="2" /> </bondArray> </molecule> </molecule> </MChemicalStruct> </MDocument> |