off by one for sequence associated annotation
authorjprocter <jprocter@compbio.dundee.ac.uk>
Tue, 4 Sep 2012 08:57:19 +0000 (09:57 +0100)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Tue, 4 Sep 2012 08:57:19 +0000 (09:57 +0100)
src/jalview/ws/jws2/AADisorderClient.java

index a5bb92d..e971746 100644 (file)
@@ -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);