From 242fe71de915d94d6f73d790bb14e377bb9624d3 Mon Sep 17 00:00:00 2001 From: tcofoegbu Date: Tue, 18 Apr 2017 14:44:19 +0100 Subject: [PATCH] JAL-2482 Bugfix --- src/jalview/ws/sifts/SiftsClient.java | 5 +++++ 1 file changed, 5 insertions(+) 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]); -- 1.7.10.2