From 3f8391b9d285ee48717161a9d8ac79ce5b3cf43b Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Thu, 28 Jul 2022 18:05:12 +0100 Subject: [PATCH] JAL-4048 feature group filter --- src/jalview/viewmodel/seqfeatures/IdColumns.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jalview/viewmodel/seqfeatures/IdColumns.java b/src/jalview/viewmodel/seqfeatures/IdColumns.java index b375941..5b16b1a 100644 --- a/src/jalview/viewmodel/seqfeatures/IdColumns.java +++ b/src/jalview/viewmodel/seqfeatures/IdColumns.java @@ -171,8 +171,8 @@ public class IdColumns for (SequenceFeature npfeat : np) { // nb deal with multiplicities! - if (col.featureGroupName != null && npfeat.featureGroup != null - && npfeat.featureGroup.equals(col.featureGroupName)) + if (col.featureGroupName == null || (npfeat.featureGroup != null + && npfeat.featureGroup.equals(col.featureGroupName))) { Color fg = Color.black; Color bg = Color.white; -- 1.7.10.2