From edad4bc11866e704a9c731a00dbb0123136193b4 Mon Sep 17 00:00:00 2001 From: osboxes Date: Tue, 29 Aug 2017 07:00:54 -0400 Subject: [PATCH] JAL-2629 fix incorrect mapping between HMM and columns after move --- src/jalview/datamodel/HiddenMarkovModel.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/jalview/datamodel/HiddenMarkovModel.java b/src/jalview/datamodel/HiddenMarkovModel.java index a837b4f..49c29d1 100644 --- a/src/jalview/datamodel/HiddenMarkovModel.java +++ b/src/jalview/datamodel/HiddenMarkovModel.java @@ -748,8 +748,6 @@ public class HiddenMarkovModel */ public void setAlignmentColumn(int nodeIndex, int column) { - int currentCol = getNodeAlignmentColumn(nodeIndex); - nodeLookup.remove(currentCol); nodes.get(nodeIndex).setAlignmentColumn(column); nodeLookup.put(column, nodeIndex); } @@ -1029,5 +1027,6 @@ public class HiddenMarkovModel symbolIndexLookup.put(c, i); } + } -- 1.7.10.2