JAL-4027 JAL-3858 rename CUSTOM_RENDERER to CONTACT_MATRIX annotation.graph type...
[jalview.git] / src / jalview / datamodel / ContactMapHolder.java
index 2b5c853..f6ccc6a 100644 (file)
@@ -40,10 +40,11 @@ public class ContactMapHolder implements ContactMapHolderI
 
     AlignmentAnnotation aa = new AlignmentAnnotation(cm.getAnnotLabel(),
             cm.getAnnotDescr(), new Annotation[0]);
-    aa.graph = AlignmentAnnotation.CUSTOMRENDERER;
+    aa.graph = AlignmentAnnotation.CONTACT_MAP;
     aa.graphMin = cm.getMin();
     aa.graphMax = cm.getMax();
     aa.editable = false;
+    aa.calcId=cm.getType();
 
     contactmaps.put(aa.annotationId, cm);
     // TODO: contact matrices could be intra or inter - more than one refseq