git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fdfb56
)
Add Annotation to specific sequence
author
amwaterhouse
<Andrew Waterhouse>
Fri, 24 Feb 2006 11:47:51 +0000
(11:47 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Fri, 24 Feb 2006 11:47:51 +0000
(11:47 +0000)
src/jalview/ws/JPredClient.java
patch
|
blob
|
history
diff --git
a/src/jalview/ws/JPredClient.java
b/src/jalview/ws/JPredClient.java
index
798259a
..
6fd0a4a
100755
(executable)
--- a/
src/jalview/ws/JPredClient.java
+++ b/
src/jalview/ws/JPredClient.java
@@
-439,6
+439,7
@@
public class JPredClient
}
\r
}
\r
\r
+ al.setDataset(null);
\r
\r
AlignmentAnnotation annot;
\r
Annotation[] annotations = null;
\r
@@
-460,6
+461,8
@@
public class JPredClient
// JBPNote Should also rename the query sequence sometime...
\r
i = 0;
\r
\r
+ SequenceI seqRef = al.getSequenceAt(FirstSeq);
\r
+
\r
while (i < preds.length)
\r
{
\r
String id = preds[i].getName().toUpperCase();
\r
@@
-512,7
+515,7
@@
public class JPredClient
"JNet Output", annotations);
\r
}
\r
\r
- al.addAnnotation(annot);
\r
+ al.addAnnotation(annot, seqRef);
\r
\r
if (noMsa)
\r
{
\r