Fixing a hole where the rain got in. This fixes the bug with the sequence tooltips becoming misaligned in the presence of an alignment skip ('-') - it was a simple error in an iterator condition. I also added extra sanity checking to make sure that the residue we are tooltipping and the residue type of the element identified in the tooltip match. This will catch (at the expense of O(n) extra lookups) most of the cases where misalignment happens (it shouldn't...).
Fixing a hole where the rain got in. This fixes the bug with the sequence tooltips becoming misaligned in the presence of an alignment skip ('-') - it was a simple error in an iterator condition.
I also added extra sanity checking to make sure that the residue we are tooltipping and the residue type of the element identified in the tooltip match. This will catch (at the expense of O(n) extra lookups) most of the cases where misalignment happens (it shouldn't...).

Kortemme-Lab/klab,Kortemme-Lab/klab,Kortemme-Lab/klab,Kortemme-Lab/klab