Off by one error in get_aa() function
|Opened on:||Thursday, August 19, 2010 - 20:54|
|Last modified:||Tuesday, August 23, 2011 - 19:57|
If you try to use get_aa() to retrieve the last segment of some proteins, it gives an error.
The following code in a lua script doesn't work on the current TNT protein:
However, this does work:
print(get_aa(get_segment_count() - 1))
However, both calls works on the current Platypus Venom puzzle. It may have something to do with TNT is a design puzzle.