Closed SandeepThokala closed 1 year ago
Looks like the input has been changed from a string (sequence
) to a list of dictionaries (residue and codon pairs, keyed by amino acid position) after the unit test was written. @SandeepThokala can you please investigate and update the test as needed?
The function is expecting an argument of type
str
for thesequence
parameter. (Line: 25) https://github.com/PoonLab/sierra-local/blob/e060fb99a3457563be5a1b4c27084966f4582157/sierralocal/score_alg.py#L20-L26 But it is checking to see ifposition
(which is of typeint
) is in thesequence
(Line: 67) https://github.com/PoonLab/sierra-local/blob/e060fb99a3457563be5a1b4c27084966f4582157/sierralocal/score_alg.py#L62-L68Error Message: