From: amwaterhouse Date: Thu, 22 Sep 2005 15:50:47 +0000 (+0000) Subject: isNucleotide X-Git-Tag: Release_2_06~19 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=bb99b11825ccc8f9d7dd7b4b0dfcc2f64ebe0b75;p=jalview.git isNucleotide --- diff --git a/src/jalview/datamodel/Alignment.java b/src/jalview/datamodel/Alignment.java index 61735ee..ac8f47a 100755 --- a/src/jalview/datamodel/Alignment.java +++ b/src/jalview/datamodel/Alignment.java @@ -33,6 +33,8 @@ public class Alignment implements AlignmentI protected Vector groups = new Vector(); protected Vector superGroup = new Vector(); protected char gapCharacter = '-'; + protected boolean isNucleotide = true; + /** DOCUMENT ME!! */ public AlignmentAnnotation[] annotations; @@ -46,9 +48,25 @@ public class Alignment implements AlignmentI */ public Alignment(SequenceI[] seqs) { + int i=0, iSize = seqs.length, j, jSize; + while(isNucleotide && i