Skip to content

Commit 275b32f

Browse files
black
1 parent 9444bdd commit 275b32f

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

causal_testing/json_front/json_class.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ def __init__(self, json_path: str, dag_path: str, data_paths: str):
277277
self.dag_path = Path(dag_path)
278278
self.data_paths = [Path(path) for path in data_paths]
279279

280+
280281
@dataclass
281282
class CausalVariables:
282283
"""

causal_testing/specification/metamorphic_relation.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,6 @@ def generate_metamorphic_relations(dag: CausalDAG) -> list[MetamorphicRelation]:
191191

192192
# Create a ShouldNotCause relation for each pair of nodes that are not directly connected
193193
if ((u, v) not in dag.graph.edges) and ((v, u) not in dag.graph.edges):
194-
195194
# Case 1: U --> ... --> V
196195
if u in nx.ancestors(dag.graph, v):
197196
adj_set = list(dag.direct_effect_adjustment_sets([u], [v])[0])

0 commit comments

Comments
 (0)