crested.tl.modisco.find_pattern

Contents

crested.tl.modisco.find_pattern#

crested.tl.modisco.find_pattern(pattern_id, pattern_dict)#

Find the index of a pattern by its ID.

Parameters:
  • pattern_id (str) – The ID of the pattern to find.

  • pattern_dict (dict) – A dictionary containing pattern data.

Return type:

int | None

Returns:

The index of the pattern if found, otherwise None.