Skip to content

Commit

Permalink
Merge pull request #792 from lukeshingles/update_networkx_to_2.0
Browse files Browse the repository at this point in the history
Fix compatibility with networkx 2.0
  • Loading branch information
wkerzendorf committed Oct 6, 2017
2 parents 696910f + 62c884e commit 2a76d42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tardis/plasma/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def _resolve_update_list(self, changed_properties):
descendants_ob += nx.descendants(self.graph, node_name)

descendants_ob = list(set(descendants_ob))
sort_order = nx.topological_sort(self.graph)
sort_order = list(nx.topological_sort(self.graph))

descendants_ob.sort(key=lambda val: sort_order.index(val) )

Expand Down

0 comments on commit 2a76d42

Please sign in to comment.