From: Jim Procter Date: Sun, 27 Apr 2014 17:38:13 +0000 (+0100) Subject: JAL-1164 (regression) reinstate 'apply disorder prediction to selection' functionalit... X-Git-Tag: Jalview_2_9~194^2~1 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=30578786c1cddee4911a62ec3fbd4fbb292e8ec0;p=jalview.git JAL-1164 (regression) reinstate 'apply disorder prediction to selection' functionality in 2.8.1+ lost during JabaCalcWorker refactoring --- diff --git a/src/jalview/ws/jws2/JabawsCalcWorker.java b/src/jalview/ws/jws2/JabawsCalcWorker.java index 8515dbc..f585732 100644 --- a/src/jalview/ws/jws2/JabawsCalcWorker.java +++ b/src/jalview/ws/jws2/JabawsCalcWorker.java @@ -379,7 +379,7 @@ public abstract class JabawsCalcWorker extends AlignCalcWorker end=inputSeqs.getEndRes(); - for (SequenceI sq : ((List) alignment.getSequences())) + for (SequenceI sq : ((List) inputSeqs.getSequences())) { if (bySequence ? sq.findPosition(end+1) -sq.findPosition(start+1) > minlen - 1 : sq.getEnd() - sq.getStart() > minlen - 1) {