From e90033c6fcd1a828068690963fbb34e2b8d3631c Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Mon, 16 Sep 2024 17:28:09 +0100 Subject: [PATCH] JAL-4392 JAL-4425 commented out code to allow consensus to be hidden automatically when just one sequence is shown --- src/jalview/workers/ConsensusThread.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/jalview/workers/ConsensusThread.java b/src/jalview/workers/ConsensusThread.java index 8882b53..0a72011 100644 --- a/src/jalview/workers/ConsensusThread.java +++ b/src/jalview/workers/ConsensusThread.java @@ -228,6 +228,9 @@ public class ConsensusThread extends AlignCalcWorker hconsensus.getStartColumn(), hconsensus.getEndColumn() + 1, alignViewport.isIgnoreGapsConsensus(), alignViewport.isShowSequenceLogo(), nseq); + // TODO: JAL-4425 - from JAL-4392 - uncommenting this line will mean consensus annotation is hidden if only one sequence is shown. + // consensusAnnotation.hasData=hconsensus.getCount()>1; + } /** -- 1.7.10.2