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:
31a5f97
)
blosum62 must have its on consensus
author
amwaterhouse
<Andrew Waterhouse>
Mon, 18 Apr 2005 16:03:51 +0000
(16:03 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Mon, 18 Apr 2005 16:03:51 +0000
(16:03 +0000)
src/jalview/gui/PopupMenu.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/PopupMenu.java
b/src/jalview/gui/PopupMenu.java
index
b07dce8
..
398294b
100755
(executable)
--- a/
src/jalview/gui/PopupMenu.java
+++ b/
src/jalview/gui/PopupMenu.java
@@
-408,6
+408,7
@@
public class PopupMenu extends JPopupMenu
\r
SliderPanel.showPIDSlider();
\r
\r
+
\r
}
\r
else // remove PIDColouring
\r
{
\r
@@
-440,7
+441,13
@@
public class PopupMenu extends JPopupMenu
\r
protected void BLOSUM62Colour_actionPerformed(ActionEvent e)
\r
{
\r
- getGroup().cs = new Blosum62ColourScheme();
\r
+ SequenceGroup sg = getGroup();
\r
+
\r
+ sg.cs = new Blosum62ColourScheme();
\r
+
\r
+ sg.cs.setConsensus(AAFrequency.calculate(sg.sequences, 0,
\r
+ ap.av.alignment.getWidth()));
\r
+
\r
refresh();
\r
}
\r
\r