From 0f5255080bd41820b3dcd934c499f68007fc5544 Mon Sep 17 00:00:00 2001 From: tcofoegbu Date: Fri, 26 Feb 2016 10:55:02 +0000 Subject: [PATCH] JAL-1994 updated implementation for broken tests --- src/jalview/viewmodel/AlignmentViewport.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/jalview/viewmodel/AlignmentViewport.java b/src/jalview/viewmodel/AlignmentViewport.java index 3c69961..eb686a4 100644 --- a/src/jalview/viewmodel/AlignmentViewport.java +++ b/src/jalview/viewmodel/AlignmentViewport.java @@ -1557,9 +1557,7 @@ public abstract class AlignmentViewport implements AlignViewportI, } else { - HiddenSequences hiddenSeqs = alignment.getHiddenSequences(); - if (hiddenSeqs != null && hiddenSeqs.hiddenSequences != null - && hiddenSeqs.hiddenSequences.length > 0) + if (hasHiddenRows()) { iSize = alignment.getHiddenSequences().getFullAlignment() .getHeight(); -- 1.7.10.2