From 84a41556c9b336cda459339cc6f0a0cb45ec90d2 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Mon, 10 Apr 2006 11:10:26 +0000 Subject: [PATCH] dont need to set - to - --- src/jalview/analysis/Conservation.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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') -- 1.7.10.2