public void updateConservation()\r
{\r
Conservation cons = new jalview.analysis.Conservation("All",\r
- jalview.schemes.ResidueProperties.propHash, 1,\r
+ jalview.schemes.ResidueProperties.propHash, 3,\r
alignment.getSequences(), 0,\r
- alignment.getWidth());\r
+ alignment.getWidth()-1);\r
cons.calculate();\r
cons.verdict(false, ConsPercGaps);\r
cons.findQuality();\r
\r
Vector cons = alignment.getAAFrequency();\r
Hashtable hash = null;\r
- for (int i = 0, alWidth=alignment.getWidth(); i<alWidth; i++)\r
+ for (int i = 0; i<alignment.getWidth(); i++)\r
{\r
hash = (Hashtable) cons.elementAt(i);\r
float value = Float.parseFloat(hash.get("maxCount").toString());\r