From d9f0e2e1a3389784d8029175d6bc90f24a5b911f Mon Sep 17 00:00:00 2001 From: jprocter Date: Thu, 28 Jun 2007 14:12:30 +0000 Subject: [PATCH] end position not correctly set. git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@408 be28352e-c001-0410-b1a7-c7978e42abec --- src/uk/ac/vamsas/objects/utils/Seq.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 1.7.10.2