JAL-2629 fix incorrect mapping between HMM and columns after move
authorosboxes <osboxes@osboxes>
Tue, 29 Aug 2017 11:00:54 +0000 (07:00 -0400)
committerosboxes <osboxes@osboxes>
Tue, 29 Aug 2017 11:00:54 +0000 (07:00 -0400)
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);
   }
 
+
 }