CDS segment index
authorjprocter <Jim Procter>
Fri, 22 Feb 2008 16:29:01 +0000 (16:29 +0000)
committerjprocter <Jim Procter>
Fri, 22 Feb 2008 16:29:01 +0000 (16:29 +0000)
src/jalview/datamodel/xdb/embl/EmblEntry.java

index 59320f7..d08ee0a 100644 (file)
@@ -623,7 +623,7 @@ public class EmblEntry
         sf.setEnd(exon[xint + 1]);
         sf.setType(feature.getName());
         sf.setFeatureGroup(sourceDb);
-        sf.setDescription("Exon " + (1 + xint) + " for protein '"
+        sf.setDescription("Exon " + (1 + (int)(xint/2)) + " for protein '"
                 + prname + "' EMBLCDS:" + prid);
         sf.setValue(FeatureProperties.EXONPOS, new Integer(1 + xint));
         sf.setValue(FeatureProperties.EXONPRODUCT, prname);