JAL-1994 updated implementation for broken tests
authortcofoegbu <tcnofoegbu@dundee.ac.uk>
Fri, 26 Feb 2016 10:55:02 +0000 (10:55 +0000)
committertcofoegbu <tcnofoegbu@dundee.ac.uk>
Fri, 26 Feb 2016 10:55:02 +0000 (10:55 +0000)
src/jalview/viewmodel/AlignmentViewport.java

index 3c69961..eb686a4 100644 (file)
@@ -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();