From: amwaterhouse Date: Mon, 10 Apr 2006 11:10:26 +0000 (+0000) Subject: dont need to set - to - X-Git-Tag: Release_2_08~31 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=84a41556c9b336cda459339cc6f0a0cb45ec90d2;p=jalview.git dont need to set - to - --- diff --git a/src/jalview/analysis/Conservation.java b/src/jalview/analysis/Conservation.java index b914108..0aa9805 100755 --- a/src/jalview/analysis/Conservation.java +++ b/src/jalview/analysis/Conservation.java @@ -165,7 +165,8 @@ public class Conservation { c = sequence.getCharAt(i); - if(jalview.util.Comparison.isGap(c)) + // No need to check if its a '-' + if(c == '.' || c==' ') c = '-'; if ('a' <= c && c <= 'z')