From 5516035dd572f63b1caf9af31cc5ec5e6c8dfa04 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Wed, 2 Nov 2005 16:06:39 +0000 Subject: [PATCH] Only add first Id to suggestedIds --- src/jalview/io/WSWUBlastClient.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/jalview/io/WSWUBlastClient.java b/src/jalview/io/WSWUBlastClient.java index 8e4532c..36e5dfd 100755 --- a/src/jalview/io/WSWUBlastClient.java +++ b/src/jalview/io/WSWUBlastClient.java @@ -126,7 +126,10 @@ public class WSWUBlastClient { maxFound = value; buffer.append(" " + id2 + " " + value + "%; "); - suggestedIds.put(id1, id2); + if(!suggestedIds.containsKey(id1)) + { + suggestedIds.put(id1, id2); + } } } } -- 1.7.10.2