search_class

search_class(class_dict: dict[str, list[str]], structures: list, params: SubstructMatchParameters) list[dict[str, str]][source]

Search for a single class and return the results as a list of dictionaries.

Parameters:
  • class_dict (dict[str, list[str]]) – Dictionary of the chemical classes.

  • structures (list) – List of structures.

  • params (SubstructMatchParameters) – Parameters for matching.

Returns:

A list of dictionaries containing matches.

Return type:

list[dict[str, str]]