return ret;\r
}\r
\r
- public static ColourSchemeI getColour(jalview.datamodel.AlignmentI al,\r
+ public static ColourSchemeI getColour(jalview.datamodel.AlignmentI al, String name)\r
+ {\r
+ return getColour(al.getSequences(), al.getWidth(), name);\r
+ }\r
+\r
+ public static ColourSchemeI getColour(java.util.Vector seqs, int width,\r
String name) {\r
- return getColour(al, getColourIndexFromName(name));\r
+ return getColour(seqs, width, getColourIndexFromName(name));\r
}\r
\r
- public static ColourSchemeI getColour(jalview.datamodel.AlignmentI al,\r
+ public static ColourSchemeI getColour(java.util.Vector seqs, int width,\r
int index) {\r
ColourSchemeI cs = null;\r
\r
switch (index) {\r
case CLUSTAL:\r
- cs = new ClustalxColourScheme(al.getSequences(), al.getWidth());\r
+ cs = new ClustalxColourScheme(seqs, width);\r
\r
break;\r
\r