valence check bug

User 870ab5b546

14-08-2006 17:46:05

Marvin thinks the C in the following compound has a valence error, but it does not.





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


<MDocument>


  <MChemicalStruct>


    <molecule molID="m1">


      <atomArray


          atomID="a1 a2 a3"


          elementType="Cl C Cl"


          formalCharge="0 -1 0"


          radical="0 trivalent 0"


          x2="2.654325933058848 2.654325933058848 1.114325933058847"


          y2="-4.697366437119687 -6.237366437119686 -6.237366437119686"


          />


      <bondArray>


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


        <bond atomRefs2="a2 a3" order="1" />


      </bondArray>


    </molecule>


  </MChemicalStruct>


</MDocument>


ChemAxon 43e6884a7a

14-08-2006 19:19:26

Thanks, we will fix that.

ChemAxon 25dcd765a3

24-08-2006 20:14:56

This seems to be problematic in SMILES. As the molecule has the following SMILES output:


Cl[C-]Cl


If we import this, the carbon becomes monovalent radical.


The reason is the following:


C has 4 valence electrons from which 2 is used in sigma bond and one goes to the negative charge:


4 - 2 - 1 = 1


So the central carbon have 1 radical electron.





The other approach is that the plus electron (which gives the negative charge) may not located in the same orbital as a valence electron so alltogether 3 electron gives the radical number.





I think it is not possible to decide which approach to use if just the SMILES is given.


Moreover generally the first approcah is more plausible.

User 870ab5b546

24-08-2006 23:41:29

What does "trivalent radical" mean if not "three unshared electrons"?





And what does SMILES have to do with it? The molecule was given in MRV format. SMILES doesn't have a "trivalent radical" concept anyway.





It doesn't bother me that you don't give a valence error when you call it a monovalent radical. What bothers me is that you do give a valence error when you call it a trivalent radical.

ChemAxon 25dcd765a3

25-08-2006 08:10:24

OK


I just wanted to warn you that it is not possible to export and import it back the trivalent radical as SMILES.

ChemAxon 25dcd765a3

25-08-2006 08:14:36

Marvin 4.1.2 will contain the fix.