diff --git a/docs/_modules/treeswift/Tree.html b/docs/_modules/treeswift/Tree.html index 4e540c5..6bc5088 100644 --- a/docs/_modules/treeswift/Tree.html +++ b/docs/_modules/treeswift/Tree.html @@ -917,7 +917,7 @@

Source code for treeswift.Tree

             suffix += ':%d' % self.root.edge_length
         elif isinstance(self.root.edge_length,float) and self.root.edge_length.is_integer():
             suffix += ':%d' % int(self.root.edge_length)
-        else:
+        elif self.root.edge_length is not None:
             suffix += ':%s' % str(self.root.edge_length)
         if hasattr(self.root, 'edge_params'):
             suffix += '[%s]' % self.root.edge_params