From 633967ffde8faa4bd02790b3260132bd3257d9ab Mon Sep 17 00:00:00 2001 From: gmungoc Date: Thu, 6 Feb 2020 16:24:46 +0000 Subject: [PATCH] JAL-1842 adjust code to match changed semantics of FeatureSettingsModelI --- src/jalview/ext/ensembl/EnsemblGene.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/jalview/ext/ensembl/EnsemblGene.java b/src/jalview/ext/ensembl/EnsemblGene.java index 9c7ce63..461226b 100644 --- a/src/jalview/ext/ensembl/EnsemblGene.java +++ b/src/jalview/ext/ensembl/EnsemblGene.java @@ -629,10 +629,10 @@ public class EnsemblGene extends EnsemblSeqProxy SequenceOntologyI so = SequenceOntologyFactory.getInstance(); @Override - public boolean isFeatureDisplayed(String type) + public boolean isFeatureHidden(String type) { - return (so.isA(type, SequenceOntologyI.EXON) - || so.isA(type, SequenceOntologyI.SEQUENCE_VARIANT)); + return (!so.isA(type, SequenceOntologyI.EXON) + && !so.isA(type, SequenceOntologyI.SEQUENCE_VARIANT)); } @Override -- 1.7.10.2