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:
d429962
)
Only add first Id to suggestedIds
author
amwaterhouse
<Andrew Waterhouse>
Wed, 2 Nov 2005 16:06:39 +0000
(16:06 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Wed, 2 Nov 2005 16:06:39 +0000
(16:06 +0000)
src/jalview/io/WSWUBlastClient.java
patch
|
blob
|
history
diff --git
a/src/jalview/io/WSWUBlastClient.java
b/src/jalview/io/WSWUBlastClient.java
index
8e4532c
..
36e5dfd
100755
(executable)
--- a/
src/jalview/io/WSWUBlastClient.java
+++ b/
src/jalview/io/WSWUBlastClient.java
@@
-126,7
+126,10
@@
public class WSWUBlastClient
{
\r
maxFound = value;
\r
buffer.append(" " + id2 + " " + value + "%; ");
\r
- suggestedIds.put(id1, id2);
\r
+ if(!suggestedIds.containsKey(id1))
\r
+ {
\r
+ suggestedIds.put(id1, id2);
\r
+ }
\r
}
\r
}
\r
}
\r