From: jprocter Date: Tue, 4 Sep 2012 08:57:19 +0000 (+0100) Subject: off by one for sequence associated annotation X-Git-Tag: Jalview_2_9~343 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=968bc59842cfb502e5e9cc4503efe27b4b4412b2;p=jalview.git off by one for sequence associated annotation --- diff --git a/src/jalview/ws/jws2/AADisorderClient.java b/src/jalview/ws/jws2/AADisorderClient.java index a5bb92d..e971746 100644 --- a/src/jalview/ws/jws2/AADisorderClient.java +++ b/src/jalview/ws/jws2/AADisorderClient.java @@ -215,7 +215,7 @@ public class AADisorderClient extends JabawsAlignCalcWorker implements AlignmentAnnotation annot = createAnnotationRowsForScores( ourAnnot, service.serviceType + " (" + scr.getMethod() + ")", service.getServiceTypeURI()+"/"+ scr.getMethod(), aseq, - base, scr); + base+1, scr); annot.graph = AlignmentAnnotation.LINE_GRAPH; annot.visible = (annotTypeMap==null || annotTypeMap.get(scr.getMethod())==null || annotTypeMap.get(scr.getMethod()).get(INVISIBLE) == null); double[] thrsh=(annotTypeMap==null || annotTypeMap.get(scr.getMethod())==null) ? null : (double[]) annotTypeMap.get(scr.getMethod()).get(THRESHOLD);