added seq_len and sequence_length properties for backwards compatibility
@@ -340,6 +340,16 @@ class TreeAnc(object):
self.logger("TreeAnc: one_mutation can't be set",1)
+ @property
+ def seq_len(self):
+ return self.data.full_length
+
+
+ @property
+ def sequence_length(self):
+ return self.data.full_length
+
+
def _check_alignment_tree_gtr_consistency(self):
'''
For each node of the tree, check whether there is a sequence available
