Move start and end before parsing name
authoramwaterhouse <Andrew Waterhouse>
Thu, 17 Nov 2005 15:18:07 +0000 (15:18 +0000)
committeramwaterhouse <Andrew Waterhouse>
Thu, 17 Nov 2005 15:18:07 +0000 (15:18 +0000)
src/jalview/datamodel/Sequence.java

index 6988615..0002200 100755 (executable)
@@ -58,11 +58,13 @@ public class Sequence implements SequenceI
     public Sequence(String name, String sequence, int start, int end)\r
     {\r
       this.name = name;\r
+      this.start = start;\r
+      this.end = end;\r
+\r
       parseId();\r
 \r
       this.sequence = sequence;\r
-      this.start = start;\r
-      this.end = end;\r
+\r
 \r
       checkValidRange();\r
     }\r