Hi Adelene,

The idea of that code is that it checks every atom in the sidechain
attached at that point. So though atom number 4 itself is a C, the
sidechain attached there contains a non-carbon atom (specifically atom 1)

Does that make sense?
-greg


On Thu, Apr 30, 2020 at 7:02 PM Adelene LAI SHUEN LYN <adelene....@uni.lu>
wrote:

> Hello,
>
>
> I'm trying to understand the example below.
>
>
>
> https://www.rdkit.org/docs/GettingStartedInPython.html#advanced-substructure-matching
>
>
> Why is it when checking for "all_carbon" that the substructure with
> indices 6,11,17,5,4 is filtered out?
>
>
> Isn't atom 4 also a carbon?
> Or does it have something to do with it having the all_carbon query set as
> one of its properties?
>
>
>
>
> <https://www.rdkit.org/docs/GettingStartedInPython.html#advanced-substructure-matching>
> Thanks,
>
> Adelene
>
>
>
>
>
> _______________________________________________
> Rdkit-discuss mailing list
> Rdkit-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
>
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to