Skip to content

Commit 0b4ae45

Browse files
committed
updated iterator for new smasher
1 parent 844feac commit 0b4ae45

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

trees_report/conflict.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ def get_refs(paths):
227227
def load_tree(path):
228228
tree = Taxonomy.getTaxonomy(path, 'ott')
229229
count = 0
230-
for id in tree.idIndex.keySet():
230+
for id in tree.allIds():
231231
count += 1
232232
print count, 'ids'
233233
return tree

trees_report/taxa_in_synthesis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def write_ids(tree, dest):
1212
def load_tree(path):
1313
tree = Taxonomy.getTaxonomy(path, 'ott')
1414
count = 0
15-
for id in tree.idIndex.keySet():
15+
for id in tree.allIds():
1616
count += 1
1717
print count, 'ids'
1818
return tree

0 commit comments

Comments
 (0)