From: osboxes Date: Tue, 29 Aug 2017 11:00:54 +0000 (-0400) Subject: JAL-2629 fix incorrect mapping between HMM and columns after move X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=edad4bc11866e704a9c731a00dbb0123136193b4;p=jalview.git JAL-2629 fix incorrect mapping between HMM and columns after move --- 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); } + }