From: jprocter Date: Thu, 28 Jun 2007 14:12:30 +0000 (+0000) Subject: end position not correctly set. X-Git-Tag: Release_0.2~112 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=d9f0e2e1a3389784d8029175d6bc90f24a5b911f;p=vamsas.git end position not correctly set. git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@408 be28352e-c001-0410-b1a7-c7978e42abec --- diff --git a/src/uk/ac/vamsas/objects/utils/Seq.java b/src/uk/ac/vamsas/objects/utils/Seq.java index ec279a1..7c82d82 100644 --- a/src/uk/ac/vamsas/objects/utils/Seq.java +++ b/src/uk/ac/vamsas/objects/utils/Seq.java @@ -95,12 +95,12 @@ public class Seq { asq.setName(name); asq.setSequence(alSequence); asq.setRefid(refseq); + if (end>refseq.getEnd() || endrefseq.getEnd()) - end = refseq.getEnd(); - asq.setEnd(end); return asq; } return null;