index number for contiguous part of mapped sequence feature
authorjprocter <Jim Procter>
Fri, 22 Feb 2008 16:28:08 +0000 (16:28 +0000)
committerjprocter <Jim Procter>
Fri, 22 Feb 2008 16:28:08 +0000 (16:28 +0000)
src/jalview/datamodel/Mapping.java

index fcb9ed3..835400e 100644 (file)
@@ -231,7 +231,7 @@ public class Mapping
           vf[v].setBegin(frange[i]);
           vf[v].setEnd(frange[i + 1]);
           if (frange.length > 2)
-            vf[v].setDescription(f.getDescription() + "\nPart " + v);
+            vf[v].setDescription(f.getDescription() + "\nPart " + (v+1));
         }
         return vf;
       }