cmatrix.find_seq_in_list¶
- cmatrix.find_seq_in_list()¶
Test if the given sequence have been found in the raw data (given as list)
Parameters
type
Description
seq
list
The sequence to search in liste
liste
list
Raw data as a list
- Returns
- bint
True => The sequence has been found
False => The sequence hasn’t been found
Examples
>>> seq=[3,7,5] >>> l=[1,2,3,4,5,3,7,5,3,7,5,3,7,5] >>> find_seq_in_list(seq,l) True >>> seq=[9,8,7] >>> l=[1,2,3,4,5,6,7] >>> find_seq_in_list(seq,l) False