- public Vector getAAFrequency() {\r
- if (aaFrequency == null || aaFrequencyValid == false) {\r
- aaFrequency = AAFrequency.calculate(sequences,1,getWidth());\r
- aaFrequencyValid = true;\r
- }\r
- return aaFrequency;\r
- }\r
- public int getWidth() {\r
- // MC This needs to get reset when characters are inserted and deleted\r
- if (width == -1) {\r
- for (int i = 0; i < sequences.size(); i++) {\r
- SequenceI seq = (SequenceI)sequences.elementAt(i);\r
- if (seq.getLength() > width) {\r
- width = seq.getLength();\r
- }\r
- }\r
- }\r
-\r
- return width;\r
+ public int getWidth()\r
+ {\r
+ System.out.println("it is called");\r
+ // MC This needs to get reset when characters are inserted and deleted\r
+ for (int i = 0; i < sequences.size(); i++)\r
+ {\r
+ SequenceI seq = (SequenceI) sequences.elementAt(i);\r
+ if (seq.getLength() > width)\r
+ width = seq.getLength();\r