X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws%2FJPredClient.java;h=6fd0a4a702b638ab129dbf6400040c77dc3b8c90;hb=01cc9bf86a687fa7c8a741128264b23eb7feba9b;hp=798259a840c37a8e1d520add298a4e5736eb0329;hpb=dd6a434e05eef33808d4cda23dd2c6f8d10a4630;p=jalview.git diff --git a/src/jalview/ws/JPredClient.java b/src/jalview/ws/JPredClient.java index 798259a..6fd0a4a 100755 --- a/src/jalview/ws/JPredClient.java +++ b/src/jalview/ws/JPredClient.java @@ -439,6 +439,7 @@ public class JPredClient } } + al.setDataset(null); AlignmentAnnotation annot; Annotation[] annotations = null; @@ -460,6 +461,8 @@ public class JPredClient // JBPNote Should also rename the query sequence sometime... i = 0; + SequenceI seqRef = al.getSequenceAt(FirstSeq); + while (i < preds.length) { String id = preds[i].getName().toUpperCase(); @@ -512,7 +515,7 @@ public class JPredClient "JNet Output", annotations); } - al.addAnnotation(annot); + al.addAnnotation(annot, seqRef); if (noMsa) {