JAL-2629 fix incorrect mapping between HMM and columns after move
[jalview.git] / src / jalview / datamodel / HiddenMarkovModel.java
index a837b4f..49c29d1 100644 (file)
@@ -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);
   }
 
+
 }