evaluate_net_smarts(structure,
smarts_list,
excl_smarts_list,
verbose=False)
|
|
Search for substructures in Structure
structure matching the SMARTS pattern
smarts_expression .
Returns a list of lists of ints. Each list of ints is a list of atom
indices matching the SMARTS pattern while not in the exclusion SMARTS
pattern
- Parameters:
structure (Structure ) - Structure to search for matching substructures.
smarts_list (list) - List of SMARTS strinsg used to match substructures.
excl_smarts_list (list) - List of SMARTS strings whose matched atoms will be excluded from
the returned match.
verbose (bool) - If True, print additional progress reports from the C
implementation.
- Returns: list
- A list of atom indices matching the SMARTS pattern and not in the
exclusion SMARTS pattern.
|