chemaxon.search.molsearch
Search hit result object.
Attributes
hit_indexes: list[int]
List of atom indexes in the target molecule that were matched by the query molecule.
colored_mol: Molecule | None
Colored target molecule showing the matched atoms and bonds. None if return_colored_hit was False
Search object to perform molecule searches.
Attributes
search_type: SearchType
The type of search to be performed. Default is SearchType.SUBSTRUCTURE.
standardizer: str
The configuration string of the standardizer to be applied before the search, or the Standardizer object.
Default is general aromatization,
if None or empty string is provided, no standardization will be applied.
Molecule searching.
Returns search hit object containing data about the query target match.
Parameters
query_mol: Molecule
The Molecule to match
target_mol: Molecule
The target Molecule to witch the query_mol is being matched
return_colored_hit: bool
If true, hit atoms and bonds are colored in the target molecule. Default is False.
Returns