Skip to content

Commit

Permalink
add debug in compute tree function
Browse files Browse the repository at this point in the history
  • Loading branch information
emiliorighi committed Jul 31, 2024
1 parent 20d6bdf commit 9c92d92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/helpers/taxonomy.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def dfs_generator_iterative(node):

while stack:
current_node, current_tree = stack.pop()

print(current_node.taxid, current_node.name)
if current_node.children:
children = TaxonNode.objects(taxid__in=current_node.children)
for child in children:
Expand Down

0 comments on commit 9c92d92

Please sign in to comment.