startRes = seqs[i].getStart();
endRes = seqs[i].getEnd();
- startIndex = startEnd[0];
- endIndex = startEnd[1];
if (startEnd != null)
{
+ startIndex = startEnd[0];
+ endIndex = startEnd[1];
// get first non-gaped residue start position
while (jalview.util.Comparison.isGap(seqs[i]
.getCharAt(startIndex)) && startIndex < endIndex)