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:
32a72d0
)
Check if groupWidth is greater than sequence width
author
amwaterhouse
<Andrew Waterhouse>
Wed, 15 Nov 2006 15:47:33 +0000
(15:47 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Wed, 15 Nov 2006 15:47:33 +0000
(15:47 +0000)
src/jalview/analysis/AAFrequency.java
patch
|
blob
|
history
diff --git
a/src/jalview/analysis/AAFrequency.java
b/src/jalview/analysis/AAFrequency.java
index
f409f8c
..
5b9a2a4
100755
(executable)
--- a/
src/jalview/analysis/AAFrequency.java
+++ b/
src/jalview/analysis/AAFrequency.java
@@
-53,6
+53,11
@@
public class AAFrequency
\r
Hashtable [] reply = new Hashtable[width];
\r
\r
\r
Hashtable [] reply = new Hashtable[width];
\r
\r
+ if(end>=width)
\r
+ {
\r
+ end = width-1;
\r
+ }
\r
+
\r
calculate(seqs, start, end, reply);
\r
\r
return reply;
\r
calculate(seqs, start, end, reply);
\r
\r
return reply;
\r