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:
f321471
)
JAL-1478 Fixed ArrayIndexOutOfBoundsException while performing NW mapping
author
tcofoegbu
<tcnofoegbu@dundee.ac.uk>
Fri, 11 Mar 2016 18:03:21 +0000
(18:03 +0000)
committer
tcofoegbu
<tcnofoegbu@dundee.ac.uk>
Fri, 11 Mar 2016 18:03:21 +0000
(18:03 +0000)
src/MCview/PDBChain.java
patch
|
blob
|
history
diff --git
a/src/MCview/PDBChain.java
b/src/MCview/PDBChain.java
index
228eede
..
7fdf11b
100755
(executable)
--- a/
src/MCview/PDBChain.java
+++ b/
src/MCview/PDBChain.java
@@
-147,6
+147,10
@@
public class PDBChain
if (as.astr1.charAt(i) == as.astr2.charAt(i))
{
+ if (pdbpos >= residues.size())
+ {
+ continue;
+ }
Residue res = residues.elementAt(pdbpos);
for (Atom atom : res.atoms)
{