funcíón get_depht de Sequence.py hecha

parent 4fe62ebc
......@@ -137,7 +137,12 @@ class Sequence:
self.sequences = new_sequence.sequences
def get_depth(self):
pass # TODO
depth = 0
sequence = self.sequences
while sequence[0].id != None:
depth += 1
sequence = sequence[0].sequences
return depth
def filter(self, level, criteria):
pass # TODO
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment