From a47c21823b2f010c947908482f72d7302ecb3fa6 Mon Sep 17 00:00:00 2001 From: sumanth Date: Tue, 27 Jul 2021 23:54:19 -0500 Subject: [PATCH] Disable clustering when axis transposed --- src/edu/iastate/metnet/metaomgraph/chart/HeatMapChart.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/edu/iastate/metnet/metaomgraph/chart/HeatMapChart.java b/src/edu/iastate/metnet/metaomgraph/chart/HeatMapChart.java index dee5cbae..697e7eec 100644 --- a/src/edu/iastate/metnet/metaomgraph/chart/HeatMapChart.java +++ b/src/edu/iastate/metnet/metaomgraph/chart/HeatMapChart.java @@ -190,8 +190,10 @@ public void actionPerformed(ActionEvent e) { if(sampleDataOnRow) { splitDataset.setEnabled(false); changePalette.setEnabled(false); + clusterDataBtn.setEnabled(false); }else { splitDataset.setEnabled(true); + clusterDataBtn.setEnabled(true); } new AnimatedSwingWorker("Transposing rows and columns") {