From: Ben Soares Date: Thu, 27 Jul 2023 19:18:50 +0000 (+0100) Subject: Merge branch 'develop' into feature/JAL-244_Automatically_adjust_left_margin_to_avoid... X-Git-Tag: Release_2_11_4_0~216^2~8 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=078d3939810e3be7d0ed9452df7db6b29e7b8e70;p=jalview.git Merge branch 'develop' into feature/JAL-244_Automatically_adjust_left_margin_to_avoid_cropping_annotation_labels --- 078d3939810e3be7d0ed9452df7db6b29e7b8e70 diff --cc src/jalview/gui/AnnotationLabels.java index 241e0a3,28065c3..c4a40d8 --- a/src/jalview/gui/AnnotationLabels.java +++ b/src/jalview/gui/AnnotationLabels.java @@@ -557,12 -537,11 +559,15 @@@ public class AnnotationLabels extends J public void run() { final long progBar; - ap.alignFrame.setProgressBar(MessageManager.formatMessage("action.clustering_matrix_for",cm.getAnnotDescr(),5f), progBar = System.currentTimeMillis()); + ap.alignFrame.setProgressBar( + MessageManager.formatMessage( + "action.clustering_matrix_for", + cm.getAnnotDescr(), 5f), + progBar = System.currentTimeMillis()); - cm.setGroupSet(GroupSet.makeGroups(cm, 5f, true)); + cm.setGroupSet(GroupSet.makeGroups(cm, true)); + cm.randomlyReColourGroups(); + cm.transferGroupColorsTo(alignmentAnnotation); + ap.alignmentChanged(); ap.alignFrame.showContactMapTree(alignmentAnnotation, cm); ap.alignFrame.setProgressBar(null, progBar); }