JAL-2574 preparation for Sequence.findFeatures(col1, col2)
[jalview.git] / src / jalview / analysis / AlignmentSorter.java
index e7733e9..bddf6e3 100755 (executable)
@@ -760,8 +760,8 @@ public class AlignmentSorter
       int endResidue = seqs[i].findPosition(endCol);
       String[] types = featureTypes == null ? null : featureTypes
               .toArray(new String[featureTypes.size()]);
-      List<SequenceFeature> sfs = seqs[i].getFeatures().findFeatures(
-              startResidue, endResidue, types);
+      List<SequenceFeature> sfs = seqs[i].findFeatures(startResidue,
+              endResidue, types);
 
       seqScores[i] = 0;
       scores[i] = 0.0;