JAL-4366 JAL-728 show 3di-Mat based quality in the overview when gecos-3di is enabled
authorJames Procter <j.procter@dundee.ac.uk>
Tue, 16 Jan 2024 17:28:40 +0000 (17:28 +0000)
committerJames Procter <j.procter@dundee.ac.uk>
Tue, 16 Jan 2024 17:28:40 +0000 (17:28 +0000)
src/jalview/gui/OverviewCanvas.java

index 0827208..5b08f21 100644 (file)
@@ -173,7 +173,7 @@ public class OverviewCanvas extends JPanel
     if (showAnnotation)
     {
       mg.translate(0, od.getSequencesHeight());
-      or.drawGraph(mg, av.getAlignmentConservationAnnotation(),
+      or.drawGraph(mg, av.is3di() ? av.getAlignmentQualityAnnot() : av.getAlignmentConservationAnnotation(),
               od.getGraphHeight(), od.getColumns(av.getAlignment()));
       mg.translate(0, -od.getSequencesHeight());
     }