From: tcofoegbu Date: Tue, 18 Apr 2017 13:44:19 +0000 (+0100) Subject: JAL-2482 Bugfix X-Git-Tag: Release_2_10_2~3^2~131 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=242fe71de915d94d6f73d790bb14e377bb9624d3;p=jalview.git JAL-2482 Bugfix --- diff --git a/src/jalview/ws/sifts/SiftsClient.java b/src/jalview/ws/sifts/SiftsClient.java index ea65125..13d33df 100644 --- a/src/jalview/ws/sifts/SiftsClient.java +++ b/src/jalview/ws/sifts/SiftsClient.java @@ -607,6 +607,11 @@ public class SiftsClient implements SiftsClientI .getDbResNum()); } catch (NumberFormatException nfe) { + if (pdbRefDb.getDbResNum().equals("null")) + { + resNum = UNASSIGNED; + continue; + } resNum = (pdbRefDb == null) ? Integer.valueOf(residue .getDbResNum()) : Integer.valueOf(pdbRefDb .getDbResNum().split("[a-zA-Z]")[0]);