JAL-1479 improved Sifts PID calculation for determining an Entity to process
authortcofoegbu <tcnofoegbu@dundee.ac.uk>
Wed, 29 Jun 2016 11:34:41 +0000 (12:34 +0100)
committertcofoegbu <tcnofoegbu@dundee.ac.uk>
Wed, 29 Jun 2016 11:34:41 +0000 (12:34 +0100)
src/jalview/ws/sifts/SiftsClient.java

index a88bacb..6c94723 100644 (file)
@@ -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());