From: jprocter Date: Wed, 29 Aug 2012 16:54:26 +0000 (+0100) Subject: JAL-974 skip empty rows X-Git-Tag: Jalview_2_9~373 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=378db7e2823248bd4c97af6683006cabec8b390e;p=jalview.git JAL-974 skip empty rows --- diff --git a/src/jalview/ws/jws2/AADisorderClient.java b/src/jalview/ws/jws2/AADisorderClient.java index c5d0bc0..8a6e9cc 100644 --- a/src/jalview/ws/jws2/AADisorderClient.java +++ b/src/jalview/ws/jws2/AADisorderClient.java @@ -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,