From: Charles Ofoegbu Date: Mon, 27 Oct 2014 11:51:29 +0000 (+0000) Subject: Patch for redundancy removal X-Git-Tag: Jalview_2_9~155^2~14^2~6 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=5002a0f587ac8f1c18117e29bb4be2754743afc2;p=jalview.git Patch for redundancy removal --- diff --git a/src/jalview/gui/RedundancyPanel.java b/src/jalview/gui/RedundancyPanel.java index 1fcd875..f73e568 100755 --- a/src/jalview/gui/RedundancyPanel.java +++ b/src/jalview/gui/RedundancyPanel.java @@ -245,8 +245,7 @@ public class RedundancyPanel extends GSliderPanel implements Runnable ap.alignFrame.addHistoryItem(cut); PaintRefresher.Refresh(this, ap.av.getSequenceSetId(), true, true); - // ap.av.firePropertyChange("alignment", null, ap.av.getAlignment() - // .getSequences()); + ap.av.firePropertyChange("alignment", null, ap.av.getAlignment().getSequences()); } } diff --git a/test/jalview/ws/jabaws/MinJabawsClientTests.java b/test/jalview/ws/jabaws/MinJabawsClientTests.java index a938dd6..b55e8ee 100644 --- a/test/jalview/ws/jabaws/MinJabawsClientTests.java +++ b/test/jalview/ws/jabaws/MinJabawsClientTests.java @@ -5,7 +5,6 @@ import static org.junit.Assert.fail; import java.util.ArrayList; import java.util.List; -import java.util.function.Consumer; import org.junit.Test; @@ -69,14 +68,11 @@ public class MinJabawsClientTests { "Mismatch in number of input and result sequences - assume alignment service wasn't interacted with correctly", msaservice.getResult(jobid).getSequences().size(), iseqs.size()); - msaservice.getResult(jobid).getSequences() - .forEach(new Consumer() { - @Override - public void accept(FastaSequence t) { - System.out.println(">"+t.getId()); - System.out.println(t.getFormattedFasta()); - } - }); + List seqList = msaservice.getResult(jobid).getSequences(); + for(FastaSequence fSeq : seqList){ + System.out.println(">"+fSeq.getId()); + System.out.println(fSeq.getFormattedFasta()); + } } }