Skip to content

Commit

Permalink
since llpo is hidden, no need to remove from removed_nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
bibek authored and bbkrr committed Jul 8, 2024
1 parent 463e487 commit 1c9b557
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions causing/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,8 @@ def recalc_graphs(graphs, model, xdat) -> Iterable[networkx.DiGraph]:
for i, approx_graph in enumerate(graphs):
individual_xdat = xdat[:, i : i + 1]
removed_nodes = set(model.graph.nodes) - set(approx_graph.nodes)
if "LLPO" in removed_nodes:
removed_nodes.remove("LLPO")
# if "LLPO" in removed_nodes:
# removed_nodes.remove("LLPO")

# Calc effects on shrunken model
individual_model = model.shrink(removed_nodes)
Expand Down

0 comments on commit 1c9b557

Please sign in to comment.