Right now ChemPer substructure searches expect SMIRNOFF type SMIRKS patterns, that is SMARTS patterns with indexed atoms and no reaction (>>) or multiple molecule (.) symbols.
I think it would be beneficial to include these checks in the is_valid function since those are the only patterns that make sense for use with the ChemPer toolkit.
Right now ChemPer substructure searches expect SMIRNOFF type SMIRKS patterns, that is SMARTS patterns with indexed atoms and no reaction (
>>
) or multiple molecule (.
) symbols.I think it would be beneficial to include these checks in the
is_valid
function since those are the only patterns that make sense for use with theChemPer
toolkit.