git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TreePanel takes viewport
[jalview.git]
/
src
/
jalview
/
schemes
/
ResidueColourScheme.java
diff --git
a/src/jalview/schemes/ResidueColourScheme.java
b/src/jalview/schemes/ResidueColourScheme.java
index
c435f7d
..
3c8e690
100755
(executable)
--- a/
src/jalview/schemes/ResidueColourScheme.java
+++ b/
src/jalview/schemes/ResidueColourScheme.java
@@
-179,6
+179,9
@@
public class ResidueColourScheme implements ColourSchemeI
*/
\r
public void setConsensus(Vector vconsensus)
\r
{
\r
*/
\r
public void setConsensus(Vector vconsensus)
\r
{
\r
+ if(vconsensus==null)
\r
+ return;
\r
+
\r
int i, iSize=vconsensus.size();
\r
consensus = new Hashtable[iSize];
\r
for(i=0; i<iSize; i++)
\r
int i, iSize=vconsensus.size();
\r
consensus = new Hashtable[iSize];
\r
for(i=0; i<iSize; i++)
\r