JAL-3417 propagate description from AnnotationProvider to the worker
[jalview.git] / src / jalview / workers / AnnotationWorker.java
index 56361fa..b812c65 100644 (file)
@@ -93,6 +93,9 @@ class AnnotationWorker extends AlignCalcWorker
                     ann.label, ann.getCalcId(), ann.autoCalculated,
                     ann.sequenceRef,
                     ann.groupRef);
+            if (ann.description!=null) {
+              theAnn.description = ann.description;
+            }
             theAnn.showAllColLabels = true;
             theAnn.graph = AlignmentAnnotation.BAR_GRAPH;
             theAnn.scaleColLabel = true;