X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fviewmodel%2Fseqfeatures%2FFeatureRendererModel.java;h=674f3d1f0d544b068703bf79d1998efc89a4cd32;hb=b13f521553582ef2fbfd7815ae25e23284babdea;hp=c7cee0461ce990acf48d10d6b4a88c19e80f3337;hpb=1718e104b60584336348531e51c8121d69ff6416;p=jalview.git diff --git a/src/jalview/viewmodel/seqfeatures/FeatureRendererModel.java b/src/jalview/viewmodel/seqfeatures/FeatureRendererModel.java index c7cee04..674f3d1 100644 --- a/src/jalview/viewmodel/seqfeatures/FeatureRendererModel.java +++ b/src/jalview/viewmodel/seqfeatures/FeatureRendererModel.java @@ -247,12 +247,6 @@ public abstract class FeatureRendererModel implements ArrayList tmp = new ArrayList(); SequenceFeature[] features = sequence.getSequenceFeatures(); - while (features == null && sequence.getDatasetSequence() != null) - { - sequence = sequence.getDatasetSequence(); - features = sequence.getSequenceFeatures(); - } - if (features != null) { for (int i = 0; i < features.length; i++) @@ -329,9 +323,7 @@ public abstract class FeatureRendererModel implements for (int i = 0; i < alignment.getHeight(); i++) { SequenceI asq = alignment.getSequenceAt(i); - SequenceI dasq = asq.getDatasetSequence(); - SequenceFeature[] features = dasq != null ? dasq - .getSequenceFeatures() : asq.getSequenceFeatures(); + SequenceFeature[] features = asq.getSequenceFeatures(); if (features == null) {