}
else
{
- if (alignment.getHiddenSequences() != null)
+ HiddenSequences hiddenSeqs = alignment.getHiddenSequences();
+ if (hiddenSeqs != null && hiddenSeqs.hiddenSequences != null
+ && hiddenSeqs.hiddenSequences.length > 0)
{
iSize = alignment.getHiddenSequences().getFullAlignment()
.getHeight();
String expected = "Score = 320\nLength of alignment = 10\nSequence Seq1 : 3 - 18 (Sequence length = 14)\nSequence Seq1 : 1 - 10 (Sequence length = 10)\n\n"
+ "Seq1 SDFAQQQRRR\n"
+ " ||||||| \n"
- + "Seq1 SDFAQQQSSS\n\n" + "Percentage ID = 70.00\n\n";
+ + "Seq1 SDFAQQQSSS\n\n" + "Percentage ID = 70.00\n";
assertEquals(expected, baos.toString());
}
}