JAL-3417 propagate description from AnnotationProvider to the worker
authorJim Procter <j.procter@dundee.ac.uk>
Wed, 23 Feb 2022 14:26:35 +0000 (14:26 +0000)
committerJim Procter <j.procter@dundee.ac.uk>
Wed, 23 Feb 2022 14:26:35 +0000 (14:26 +0000)
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;