X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fgui%2FAnnotationPanel.java;fp=src%2Fjalview%2Fgui%2FAnnotationPanel.java;h=ca9b95f12e7856b8f7491fdebb1a2f20f5695f43;hb=46c34fb5b641a5ec57b5eec0e7bf964a9e72219f;hp=1acc0ca9c0d0ad7c51da2ca25c309da0b900a520;hpb=227daebd9bdf92c83712e077d958a690cdee0f7a;p=jalview.git diff --git a/src/jalview/gui/AnnotationPanel.java b/src/jalview/gui/AnnotationPanel.java index 1acc0ca..ca9b95f 100755 --- a/src/jalview/gui/AnnotationPanel.java +++ b/src/jalview/gui/AnnotationPanel.java @@ -1572,12 +1572,12 @@ public class AnnotationPanel extends JPanel implements MouseListener, char[] dc; /** - * profl.length == 11 indicates that the profile of a secondary + * profl.length == 51 indicates that the profile of a secondary * structure conservation row was accesed. * Therefore dc gets length 2, to have space for a basepair instead of * just a single nucleotide */ - if (profl.length == 22) + if (profl.length == 51) { dc = new char[2]; } @@ -1593,7 +1593,7 @@ public class AnnotationPanel extends JPanel implements MouseListener, if (aa.label.startsWith("StrucConsensus")) { - dc[1] = 'A'; + dc[1] = (char) profl[c++]; } wdth = av.charWidth;