From: amwaterhouse Date: Thu, 17 Nov 2005 15:18:07 +0000 (+0000) Subject: Move start and end before parsing name X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=72dbda1ebc7b6fe0ffbb486a3c3fb973a73483e7;p=jalview.git Move start and end before parsing name --- diff --git a/src/jalview/datamodel/Sequence.java b/src/jalview/datamodel/Sequence.java index 6988615..0002200 100755 --- a/src/jalview/datamodel/Sequence.java +++ b/src/jalview/datamodel/Sequence.java @@ -58,11 +58,13 @@ public class Sequence implements SequenceI public Sequence(String name, String sequence, int start, int end) { this.name = name; + this.start = start; + this.end = end; + parseId(); this.sequence = sequence; - this.start = start; - this.end = end; + checkValidRange(); }