X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2FAlignmentAnnotation.java;h=483c82177bf07915e3eba54dd845b5f65d3e681a;hb=aaace4c8c53d4bb08a5bad0ea18ccfedbef90cd9;hp=bd5bfcfcdfa260b7c1ff338bdf68c0d982e4f99c;hpb=153dd62dc91da13ae732600e6ea55ddbe15eab39;p=jalview.git diff --git a/src/jalview/datamodel/AlignmentAnnotation.java b/src/jalview/datamodel/AlignmentAnnotation.java index bd5bfcf..483c821 100755 --- a/src/jalview/datamodel/AlignmentAnnotation.java +++ b/src/jalview/datamodel/AlignmentAnnotation.java @@ -380,7 +380,7 @@ public class AlignmentAnnotation { this.score = annotation.score; } - if (threshold != null) + if (annotation.threshold != null) { threshold = new GraphLine(annotation.threshold); } @@ -813,6 +813,12 @@ public class AlignmentAnnotation { if (seqname && this.sequenceRef != null) { + int i=description.toLowerCase().indexOf(""); + if (i>-1) + { + // move the html tag to before the sequence reference. + return ""+sequenceRef.getName()+" : "+description.substring(i+6); + } return sequenceRef.getName() + " : " + description; } return description;