JAL-2403 constants for "NJ", "AV"
[jalview.git] / src / jalview / io / vamsas / Tree.java
index a3781a7..89877e2 100644 (file)
@@ -239,8 +239,8 @@ public class Tree extends DatastoreItem
       prov.getEntry(0).addParam(new Param());
       prov.getEntry(0).getParam(0).setName("treeType");
       prov.getEntry(0).getParam(0).setType("utf8");
-      prov.getEntry(0).getParam(0).setContent("NJ"); // TODO: type of tree is a
-      // general parameter
+      prov.getEntry(0).getParam(0).setContent(NJTree.NEIGHBOUR_JOINING);
+      // TODO: type of tree is a general parameter
       int ranges[] = tp.getTree().seqData.getVisibleContigs();
       // VisibleContigs are with respect to alignment coordinates. Still need
       // offsets