From 94445a50c8ddcc4a0294006f4851c2e8f43b74f6 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Thu, 31 May 2018 17:27:13 +0100 Subject: [PATCH] JAL-3011 - show score in annotation row - looks like this got lost in an automerge --- src/jalview/gui/AnnotationLabels.java | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/jalview/gui/AnnotationLabels.java b/src/jalview/gui/AnnotationLabels.java index b1a8aff..dc89fa3 100755 --- a/src/jalview/gui/AnnotationLabels.java +++ b/src/jalview/gui/AnnotationLabels.java @@ -875,14 +875,16 @@ public class AnnotationLabels extends JPanel { // begin the tooltip's html fragment desc.append(""); - if (aa.hasScore()) - { - // TODO: limit precision of score to avoid noise from imprecise - // doubles - // (64.7 becomes 64.7+/some tiny value). - desc.append(" Score: " + aa.score); - } } + + if (aa.hasScore()) + { + // TODO: limit precision of score to avoid noise from imprecise + // doubles + // (64.7 becomes 64.7+/some tiny value). + desc.append(" Score: " + aa.score); + } + if (desc.length() > 6) { desc.append(""); -- 1.7.10.2