Skip to content
Snippets Groups Projects
Commit c82a14b3 authored by Birgitta Paeuker's avatar Birgitta Paeuker
Browse files

Reduce the taxa names to 10 characters

parent a837c0e8
Branches
No related tags found
No related merge requests found
...@@ -49,7 +49,7 @@ class NeighborJoining: ...@@ -49,7 +49,7 @@ class NeighborJoining:
self._bigmatrix[j,i] = dist self._bigmatrix[j,i] = dist
self._bigmatrix[i,j] = dist self._bigmatrix[i,j] = dist
def taxon_name(self,idx): def taxon_name(self,idx):
return self._dm.taxon_name(idx) return self._dm.taxon_name(idx)[:10]
def numofnodes(self): def numofnodes(self):
return self._numofnodes return self._numofnodes
def num_of_taxa(self): def num_of_taxa(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment