From 648d3302321dc641c0dbef604e6e8a89101632cc Mon Sep 17 00:00:00 2001 From: kjvdheide Date: Sat, 28 Oct 2017 20:58:37 +0100 Subject: [PATCH] JAL-2795 moved ForesterMatrix to ext.forester --- .../ext/{archaeopteryx => forester}/ForesterMatrix.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) rename src/jalview/ext/{archaeopteryx => forester}/ForesterMatrix.java (89%) diff --git a/src/jalview/ext/archaeopteryx/ForesterMatrix.java b/src/jalview/ext/forester/ForesterMatrix.java similarity index 89% rename from src/jalview/ext/archaeopteryx/ForesterMatrix.java rename to src/jalview/ext/forester/ForesterMatrix.java index b7b3030..39106a7 100644 --- a/src/jalview/ext/archaeopteryx/ForesterMatrix.java +++ b/src/jalview/ext/forester/ForesterMatrix.java @@ -1,4 +1,4 @@ -package jalview.ext.archaeopteryx; +package jalview.ext.forester; import jalview.math.MatrixI; @@ -11,6 +11,10 @@ public class ForesterMatrix implements DistanceMatrix public ForesterMatrix(MatrixI jalviewInputMatrix) { this.jalviewMatrix = jalviewInputMatrix; + if (jalviewMatrix.width() != jalviewMatrix.height()) + { + + } } @@ -30,7 +34,7 @@ public class ForesterMatrix implements DistanceMatrix @Override public int getSize() { - return 0; + return jalviewMatrix.width(); } @Override -- 1.7.10.2