Skip to content

Commit

Permalink
maintain reported section between root->cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
aquamatthias committed Sep 17, 2024
1 parent 5acd1fd commit 37be65c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fixcore/fixcore/model/graph_access.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,8 +409,9 @@ def check_complete(self) -> None:
for edge_type in EdgeTypes.all:
key = GraphAccess.edge_key(rid, succ, edge_type)
if self.graph.has_edge(rid, succ, key):
data = self.graph.get_edge_data(rid, succ, key)
self.graph.remove_edge(rid, succ, key)
self.add_edge("root", succ, edge_type)
self.add_edge("root", succ, edge_type, data.get("reported"))
self.graph.remove_node(rid)


Expand Down

0 comments on commit 37be65c

Please sign in to comment.