JAL-3417 findOrCreateAnnotation is designed to make unique rows based on Label+calcId...
[jalview.git] / src / jalview / workers / AnnotationWorker.java
index 8f37f15..56361fa 100644 (file)
@@ -90,7 +90,9 @@ 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);
             theAnn.showAllColLabels = true;
             theAnn.graph = AlignmentAnnotation.BAR_GRAPH;
             theAnn.scaleColLabel = true;