* @param av DOCUMENT ME!\r
* @param s DOCUMENT ME!\r
*/\r
- public PCAPanel(AlignViewport av, SequenceI[] s)\r
+ public PCAPanel(AlignViewport av)\r
{\r
this.av = av;\r
\r
{\r
seqs = new Sequence[av.getSelectionGroup().getSize()];\r
\r
- for (int i = 0; i < s.length; i++)\r
+ for (int i = 0; i < av.getSelectionGroup().getSize(); i++)\r
{\r
seqs[i] = av.getSelectionGroup().getSequenceAt(i);\r
}\r
}\r
-\r
- if (s == null)\r
+ else\r
{\r
seqs = new Sequence[av.getAlignment().getHeight()];\r
\r