Cannot deindex an indexed RNA [commit #75a67bd0] | mRNA.py deindexRNA(): No such method codonIndex()
def deindexRNA(code:list) -> str:
result = ''
for i in range (0, len(code), 3):
result = result + codonIndex(code[i])
i = len(code) % 3
result = result[:-i] + codonIndex(code[-1])
return result
There is no such method called codonIndex
, I suspect it was supposed to be deindexCodon
, which is the method right above it.
Edited by Akasha Peppermint