JAL-4048 feature group filter
authorJim Procter <j.procter@dundee.ac.uk>
Thu, 28 Jul 2022 17:05:12 +0000 (18:05 +0100)
committerJim Procter <j.procter@dundee.ac.uk>
Thu, 28 Jul 2022 17:05:12 +0000 (18:05 +0100)
src/jalview/viewmodel/seqfeatures/IdColumns.java

index b375941..5b16b1a 100644 (file)
@@ -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;