Merge branch 'develop' into bug/JAL-4421_customise_volume_name_of_DMG_installers
[jalview.git] / src / jalview / viewmodel / PCAModel.java
index 1693294..71bef00 100644 (file)
@@ -101,7 +101,7 @@ public class PCAModel
     top = height - 1;
 
     points = new Vector<>();
-    Point[] scores = pca.getComponents(top - 1, top - 2, top - 3, 100);
+    Point[] scores = pca.getComponents(top - 1, top - 2, top - 3, 1);
 
     for (int i = 0; i < height; i++)
     {
@@ -153,7 +153,7 @@ public class PCAModel
   public void updateRcView(int dim1, int dim2, int dim3)
   {
     // note: actual indices for components are dim1-1, etc (patch for JAL-1123)
-    Point[] scores = pca.getComponents(dim1 - 1, dim2 - 1, dim3 - 1, 100);
+    Point[] scores = pca.getComponents(dim1 - 1, dim2 - 1, dim3 - 1, 1);
 
     for (int i = 0; i < pca.getHeight(); i++)
     {