Skip to content

Commit ce7ae7b

Browse files
committed
up
1 parent b7bd00f commit ce7ae7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_rsml_time_nx.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def split(g):
100100
def convert_nx(g):
101101

102102
orders = algo.orders(g)
103-
g.properties()['root_degree'] = orders
103+
g.properties()['root_deg'] = orders
104104
max_scale = g.max_scale()
105105
root_id = next(g.component_roots_at_scale_iter(g.root, scale=max_scale))
106106

@@ -117,7 +117,7 @@ def convert_nx(g):
117117

118118
g_nx = nx.from_edgelist(edge_list, create_using=nx.DiGraph)
119119

120-
props = ['x', 'y', 'time', 'time_hours', 'diameters', 'label', 'diameter', 'root_degree']
120+
props = ['x', 'y', 'time', 'time_hours', 'diameters', 'label', 'diameter', 'root_deg']
121121
for node in nodes:
122122
for prop in props:
123123
_prop = g.property(prop)

0 commit comments

Comments
 (0)