From 72dbda1ebc7b6fe0ffbb486a3c3fb973a73483e7 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Thu, 17 Nov 2005 15:18:07 +0000 Subject: [PATCH] Move start and end before parsing name --- src/jalview/datamodel/Sequence.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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(); } -- 1.7.10.2