From: tcofoegbu Date: Thu, 3 Nov 2016 16:47:18 +0000 (+0000) Subject: JAL-2312 Bug fix for repeated mapping generation from SIFTS when heuristic identifica... X-Git-Tag: Release_2_10_1^2~19 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=ba6d32378ba46bb66f27ec84c59695a002dfacfe;p=jalview.git JAL-2312 Bug fix for repeated mapping generation from SIFTS when heuristic identification fails for some SIFTS entities --- diff --git a/src/jalview/ws/sifts/SiftsClient.java b/src/jalview/ws/sifts/SiftsClient.java index acca50f..83af0e0 100644 --- a/src/jalview/ws/sifts/SiftsClient.java +++ b/src/jalview/ws/sifts/SiftsClient.java @@ -826,6 +826,10 @@ public class SiftsClient implements SiftsClientI if (sPojo[0].entityId != null) { + if (sPojo[0].pid < 1) + { + return null; + } for (Entity entity : entities) { if (!entity.getEntityId().equalsIgnoreCase(sPojo[0].entityId))