JAL-974 skip empty rows
authorjprocter <jprocter@compbio.dundee.ac.uk>
Wed, 29 Aug 2012 16:54:26 +0000 (17:54 +0100)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Wed, 29 Aug 2012 16:54:26 +0000 (17:54 +0100)
src/jalview/ws/jws2/AADisorderClient.java

index c5d0bc0..8a6e9cc 100644 (file)
@@ -187,7 +187,10 @@ public class AADisorderClient extends JabawsAlignCalcWorker implements
           }
           else
           {
-
+            if (scr.getScores().size()==0)
+            {
+              continue;
+            }
             AlignmentAnnotation annot = createAnnotationRowsForScores(
                     ourAnnot, service.serviceType + " (" + scr.getMethod()
                             + ")", service.getServiceTypeURI()+"/"+ scr.getMethod(), aseq,