Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
is_ter_codon
andis_start_codon
do not behaves the same. ( with that PR now it does).is_ter_codon was not verifying all unambiguous_codons, but only the first.
I do not get why Matthew Laird that coded
is_ter_codon
in 2016 did it like that while the_codon_is
was existing and used byis_start_codon
since 2010.How
is_ter_codon
was coded was not behaving as explained. Indeed only the first codon for ambiguous codon was tried. It was coded Upside down (between the else and if statement).Anyway using the
_codon_is
method as foris_start_codon
seems perfectly fine.