JAL-4159 fix PairwiseAlignmentPanelTest - reinstate correct recording of the endRes...
authorJim Procter <jprocter@dundee.ac.uk>
Fri, 24 May 2024 15:36:37 +0000 (16:36 +0100)
committerJim Procter <jprocter@dundee.ac.uk>
Fri, 24 May 2024 15:36:37 +0000 (16:36 +0100)
src/jalview/analysis/AlignSeq.java

index 757c8d1..e806d2b 100755 (executable)
@@ -468,6 +468,8 @@ public class AlignSeq
     int trace;
     maxscore = score[i][j] / 10f;
 
     int trace;
     maxscore = score[i][j] / 10f;
 
+    seq1end = maxi + 1;
+    seq2end = maxj + 1;
 
     aseq1 = new int[seq1.length + seq2.length];
     aseq2 = new int[seq1.length + seq2.length];
 
     aseq1 = new int[seq1.length + seq2.length];
     aseq2 = new int[seq1.length + seq2.length];