git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a31b18
)
JAL-2482 Bugfix
author
tcofoegbu
<tcnofoegbu@dundee.ac.uk>
Tue, 18 Apr 2017 13:44:19 +0000
(14:44 +0100)
committer
tcofoegbu
<tcnofoegbu@dundee.ac.uk>
Tue, 18 Apr 2017 13:44:19 +0000
(14:44 +0100)
src/jalview/ws/sifts/SiftsClient.java
patch
|
blob
|
history
diff --git
a/src/jalview/ws/sifts/SiftsClient.java
b/src/jalview/ws/sifts/SiftsClient.java
index
ea65125
..
13d33df
100644
(file)
--- 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]);