From 8cc3de5e7d587045f6d8e907ab9c630afb625d99 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Mon, 18 Jul 2016 09:31:06 +0100 Subject: [PATCH] JAL-2145 improvement: ensure conservation calculation performed between istart & alwidth only! --- src/jalview/analysis/Conservation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/analysis/Conservation.java b/src/jalview/analysis/Conservation.java index 7b3ce25..21d990c 100755 --- a/src/jalview/analysis/Conservation.java +++ b/src/jalview/analysis/Conservation.java @@ -693,7 +693,7 @@ public class Conservation qmax = qualityRange[1].floatValue(); } - for (int i = 0; i < alWidth; i++) + for (int i = istart; i < alWidth; i++) { float value = 0; -- 1.7.10.2