JAL-1164 (regression) reinstate 'apply disorder prediction to selection' functionalit...
authorJim Procter <jprocter@dundee.ac.uk>
Sun, 27 Apr 2014 17:38:13 +0000 (18:38 +0100)
committerJim Procter <jprocter@dundee.ac.uk>
Sun, 27 Apr 2014 17:38:13 +0000 (18:38 +0100)
src/jalview/ws/jws2/JabawsCalcWorker.java

index 8515dbc..f585732 100644 (file)
@@ -379,7 +379,7 @@ public abstract class JabawsCalcWorker extends AlignCalcWorker
     end=inputSeqs.getEndRes();
     
 
-    for (SequenceI sq : ((List<SequenceI>) alignment.getSequences()))
+    for (SequenceI sq : ((List<SequenceI>) inputSeqs.getSequences()))
     {
       if (bySequence ? sq.findPosition(end+1) -sq.findPosition(start+1) > minlen - 1 : sq.getEnd() - sq.getStart() > minlen - 1)
       {