You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
s = wk.Skeleton((1, 1, 1), dataset_name="test_dataset")
g = s.add_group("test")
tree = g.add_tree("t")
tree.add_node((1, 2, 3))
for node_id, node_data in tree.nodes(data=True):
print(node_id, node_data)
Should print the node id and the data dict, but I get the Node and an empty dict.
Your Environment for bug
webknossos-libs 0.16.2
The text was updated successfully, but these errors were encountered:
Context
Affected library: webknossos
Expected Behavior
Trees should behave like networkx graphs
Current Behavior
iterating over nodes with data=True is different.
Steps to Reproduce the bug
Should print the node id and the data dict, but I get the Node and an empty dict.
Your Environment for bug
webknossos-libs 0.16.2
The text was updated successfully, but these errors were encountered: