From: jprocter Date: Tue, 30 Aug 2011 13:27:27 +0000 (+0100) Subject: fix for JAL-917 - ensure all sequence strings are made uppercase before alignment X-Git-Tag: Release_2_7~62 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=f7f284d2b85186bb9133e7d9d0a245661ba349c8;p=jalview.git fix for JAL-917 - ensure all sequence strings are made uppercase before alignment --- diff --git a/src/jalview/analysis/AlignSeq.java b/src/jalview/analysis/AlignSeq.java index 9994634..a27c51b 100755 --- a/src/jalview/analysis/AlignSeq.java +++ b/src/jalview/analysis/AlignSeq.java @@ -126,7 +126,7 @@ public class AlignSeq */ public AlignSeq(SequenceI s1, SequenceI s2, String type) { - SeqInit(s1, s1.getSequenceAsString().toUpperCase(), s2, s2.getSequenceAsString().toUpperCase(), + SeqInit(s1, s1.getSequenceAsString(), s2, s2.getSequenceAsString(), type); } @@ -143,7 +143,7 @@ public class AlignSeq public AlignSeq(SequenceI s1, String string1, SequenceI s2, String string2, String type) { - SeqInit(s1, string1, s2, string2, type); + SeqInit(s1, string1.toUpperCase(), s2, string2.toUpperCase(), type); } /**