[Rdkit-discuss] RDKit PostgreSQL extension: Unexpected behaviour of substruct()
Open-Source Cheminformatics and Machine Learning
Brought to you by:
glandrum
|
From: pgchem p. <pg...@tu...> - 2024-06-27 08:53:29
|
Hello all,
if every valid SMILES is also a valid SMARTS, why does:
select substruct('[2H]C1=CC([3H])=CC(=C1)C1=N[C@](C)([37Cl])CC1'::mol, '[2H]C1=CC([3H])=CC(=C1)C1=N[C@](C)([37Cl])CC1'::mol)
yield "True", but:
select substruct('[2H]C1=CC([3H])=CC(=C1)C1=N[C@](C)([37Cl])CC1'::mol, '[2H]C1=CC([3H])=CC(=C1)C1=N[C@](C)([37Cl])CC1'::qmol)
is "False"? The same is observed when using the @> operator.
RDKit 2024.03.3 built from source + PostgreSQL 16.3.
best regards
Ernst-Georg
|