From 378db7e2823248bd4c97af6683006cabec8b390e Mon Sep 17 00:00:00 2001 From: jprocter Date: Wed, 29 Aug 2012 17:54:26 +0100 Subject: [PATCH] JAL-974 skip empty rows --- src/jalview/ws/jws2/AADisorderClient.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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, -- 1.7.10.2