Dear George,
On Sat, Jul 18, 2009 at 5:21 PM, George Oakman<[email protected]> wrote:
> Hi all,
>
> I am looking at the Bond class and realise that there is support for
> conjugaison (RDKit::Bond::setIsConjugated and RDKit::Bond::getIsConjugated).
>
> Can this be applied to any BondType (i.e. SINGLE, DOUBLE, TRIPLE, etc.) or
> is it to be used with BondType OTHER?
It's not a replacement for bond typing information:
[14] >>> m = Chem.MolFromSmiles('C=CC=CC')
[15] >>> m.GetBondWithIdx(0).GetIsConjugated()
Out[15]: True
[16] >>> m.GetBondWithIdx(1).GetIsConjugated()
Out[16]: True
and it applies to triple bonds as well as double and single:
[17] >>> m = Chem.MolFromSmiles('C#CC#CC')
[18] >>> m.GetBondWithIdx(0).GetIsConjugated()
Out[18]: True
[19] >>> m.GetBondWithIdx(1).GetIsConjugated()
Out[19]: True
> Does setting conjugated to true affect the value of getValenceContrib?
>
nope
> I always assumed that conjugated bonds were effectively 1.5 bonds, just like
> aromatic bonds.
The definition used in the RDKit is very simple: conjugation requires
a multiple bond connected by a single bond to another multiple bond.
It doesn't affect bond typing or valence contributions, but it does
affect hybridization.
-greg