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:
a2d2bfc
)
null point bug fixed
author
amwaterhouse
<Andrew Waterhouse>
Fri, 18 Mar 2005 17:34:56 +0000
(17:34 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Fri, 18 Mar 2005 17:34:56 +0000
(17:34 +0000)
src/jalview/gui/SeqPanel.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/SeqPanel.java
b/src/jalview/gui/SeqPanel.java
index
255be5d
..
55bec56
100755
(executable)
--- a/
src/jalview/gui/SeqPanel.java
+++ b/
src/jalview/gui/SeqPanel.java
@@
-388,7
+388,8
@@
public class SeqPanel extends JPanel
oldSeq = seq;
\r
\r
SequenceI sequence = (Sequence) av.getAlignment().getSequenceAt(seq);
\r
- if(res>sequence.getLength())
\r
+
\r
+ if(sequence==null || res>sequence.getLength())
\r
return;
\r
\r
stretchGroup = av.getSelectionGroup();
\r