[Phylobase-commits] r174 - pkg/src/ncl/ncl

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun Apr 13 17:48:35 CEST 2008


Author: bbolker
Date: 2008-04-13 17:48:35 +0200 (Sun, 13 Apr 2008)
New Revision: 174

Modified:
   pkg/src/ncl/ncl/nxstreesblock.cpp
Log:
  small hack to allow (and ignore!) &W = weights statements on trees



Modified: pkg/src/ncl/ncl/nxstreesblock.cpp
===================================================================
--- pkg/src/ncl/ncl/nxstreesblock.cpp	2008-04-07 00:51:23 UTC (rev 173)
+++ pkg/src/ncl/ncl/nxstreesblock.cpp	2008-04-13 15:48:35 UTC (rev 174)
@@ -123,6 +123,11 @@
 			{
 			tree_is_unrooted = true;
 			}
+		else if (s[1] == 'W' || s[1] == 'w')
+		    {
+			/* silently ignoring weights because
+			   I don't know how to print them! */
+                    }
 		else
 			{
 			errormsg = "[";



More information about the Phylobase-commits mailing list