django-rdkit
django-rdkit copied to clipboard
Using mol_adjust_query_properties()
I recently needed to do substructure queries that take into account explicit hydrogens. I found out that the mol_adjust_query_properties()
cartridge function does what I want.
I gathered that there is no built-in way to access that feature through field lookups. I managed to do it by creating a new Lookup and registering it to MolField.
Is there be a cleaner way to do this? My solution also doesn't support additional parameters unfortunately.