From 7c621eb034de40a389393ae4a97762328f5b3046 Mon Sep 17 00:00:00 2001 From: tcofoegbu Date: Wed, 29 Jun 2016 12:34:41 +0100 Subject: [PATCH] JAL-1479 improved Sifts PID calculation for determining an Entity to process --- src/jalview/ws/sifts/SiftsClient.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/jalview/ws/sifts/SiftsClient.java b/src/jalview/ws/sifts/SiftsClient.java index a88bacb..6c94723 100644 --- a/src/jalview/ws/sifts/SiftsClient.java +++ b/src/jalview/ws/sifts/SiftsClient.java @@ -828,7 +828,8 @@ public class SiftsClient implements SiftsClientI } } } - sPojo[count].pid = 100 * (sPojo[count].chainIdFreq / sPojo[count].resCount); + sPojo[count].pid = (100 * sPojo[count].chainIdFreq) + / sPojo[count].resCount; ++count; } Arrays.sort(sPojo, Collections.reverseOrder()); -- 1.7.10.2