alias problem

User 870ab5b546

04-09-2006 11:33:12

This code:





Code:
<?xml version="1.0" ?>


<MDocument>


  <MChemicalStruct>


    <molecule molID="m1">


      <atomArray


          atomID="a1 a2"


          elementType="C O"


          formalCharge="-1 1"


          mrvAlias="C 0"


          x2="5.544000000000001 7.084000000000001"


          y2="4.0040000000000004 4.0040000000000004"


          />


      <bondArray>


        <bond atomRefs2="a1 a2" order="3" />


      </bondArray>


    </molecule>


  </MChemicalStruct>


</MDocument>








fails to show a minus charge for the C atom in MarvinView or MarvinSketch. I know that there is an alias for the C atom, but shouldn't the charge show anyway?

ChemAxon 7c2d26e5cf

04-09-2006 13:36:59

Quote:
I know that there is an alias for the C atom, but shouldn't the charge show anyway?
No, we don't agree with you. This behaviour is logical. If you need a negative charge on alias, give a '-' charecter in the alias name.