Hi,

I'm not 100% sure what you're asking for.

If you are looking for double bond stereochemistry, you can do something
like this:

In [9]: mol = Chem.MolFromSmiles('F/C=C/C=CF')
In [10]: for b in mol.GetBonds():
    if b.GetBondType()==Chem.BondType.DOUBLE:
        print b.GetIdx(),b.GetStereo()
   ....:
1 STEREOE
3 STEREONONE

Is that what you mean?

-greg



On Mon, Mar 23, 2015 at 1:23 PM, Jose Manuel Gally <
jose-manuel.ga...@univ-orleans.fr> wrote:

> Dear rdkitters,
>
> I was wondering if someone knew a way of detecting unassigned stereobonds?
> I looked for something similar to FindMolChiralCenters(mol,
> includeUnassigned=True), but couldn't find anything.
>
> For example this snippet :
>
> from rdkit import Chem
> mol = Chem.MolFromSmiles('FC=CF')
> bonds = mol.GetBonds()
> for b in bonds:
>      print b.GetStereo()
>
> gives me the following output...
>
> STEREONONE
> STEREONONE
> STEREONONE
>
>
> ...whereas I would like something like this :
>
> STEREONONE
> STEREOANY
> STEREONONE
>
> Thank you for your help!
>
> Cheers,
> Jose Manuel Gally
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Rdkit-discuss mailing list
> Rdkit-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to