X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fworkers%2FAnnotationWorker.java;h=b812c655048bd65fad36f940c31a517a840051dd;hb=3459a8a691cb22508d7067f240b7254e588e77d3;hp=8f37f15e7377bba0153d42203846bee11bab188c;hpb=a57976ba40e1abe6d7c1940386e1a25419ef9c9d;p=jalview.git diff --git a/src/jalview/workers/AnnotationWorker.java b/src/jalview/workers/AnnotationWorker.java index 8f37f15..b812c65 100644 --- a/src/jalview/workers/AnnotationWorker.java +++ b/src/jalview/workers/AnnotationWorker.java @@ -90,7 +90,12 @@ class AnnotationWorker extends AlignCalcWorker for (AlignmentAnnotation ann : anns) { AlignmentAnnotation theAnn = alignment.findOrCreateAnnotation( - ann.label, ann.description, false, null, null); + 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;