/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.6)
- * Copyright (C) 2010 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7)
+ * Copyright (C) 2011 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle
*
* This file is part of Jalview.
*
{
this.score = annotation.score;
}
- if (threshold != null)
+ if (annotation.threshold != null)
{
threshold = new GraphLine(annotation.threshold);
}
{
if (seqname && this.sequenceRef != null)
{
+ int i=description.toLowerCase().indexOf("<html>");
+ if (i>-1)
+ {
+ // move the html tag to before the sequence reference.
+ return "<html>"+sequenceRef.getName()+" : "+description.substring(i+6);
+ }
return sequenceRef.getName() + " : " + description;
}
return description;