git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36e82a3
)
JAL-2629 fix incorrect mapping between HMM and columns after move
author
osboxes
<osboxes@osboxes>
Tue, 29 Aug 2017 11:00:54 +0000
(07:00 -0400)
committer
osboxes
<osboxes@osboxes>
Tue, 29 Aug 2017 11:00:54 +0000
(07:00 -0400)
src/jalview/datamodel/HiddenMarkovModel.java
patch
|
blob
|
history
diff --git
a/src/jalview/datamodel/HiddenMarkovModel.java
b/src/jalview/datamodel/HiddenMarkovModel.java
index
a837b4f
..
49c29d1
100644
(file)
--- 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);
}
+
}