From c82a14b3c0a6c15689dad490c028789afcf805e0 Mon Sep 17 00:00:00 2001
From: Birgitta Paeuker <5paeuker@informatik.uni-hamburg.de>
Date: Wed, 11 Sep 2019 16:50:57 +0200
Subject: [PATCH] Reduce the taxa names to 10 characters

---
 src/nejo_idx.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nejo_idx.py b/src/nejo_idx.py
index cdc04e0..94b43e3 100755
--- a/src/nejo_idx.py
+++ b/src/nejo_idx.py
@@ -49,7 +49,7 @@ class NeighborJoining:
         self._bigmatrix[j,i] = dist
         self._bigmatrix[i,j] = dist
   def taxon_name(self,idx):
-    return self._dm.taxon_name(idx)
+    return self._dm.taxon_name(idx)[:10]
   def numofnodes(self):
     return self._numofnodes
   def num_of_taxa(self):
-- 
GitLab