Skip to content

Commit f874195

Browse files
committed
Rel 0.1.0
1 parent 1fc9c9d commit f874195

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

test/test_descendents_02.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
using StructuralCausalModels, Test
22

3+
ProjDir = @__DIR__
4+
35
d_str = "dag{k1 -> k2;k2 -> y;v -> x2;w -> k1;x1 -> v;x1 -> w;x2 -> y;x3 -> w;x3 -> y}"
46

57
dag = DAG("test_desc", d_str)
68

79
dagitty_str = to_dagitty(dag)
810

11+
#=
912
fname = joinpath(ProjDir, "test_descendents_02.dot")
1013
to_graphviz(dag, fname)
1114
Sys.isapple() && run(`open -a GraphViz.app $(fname)`)
15+
=#
1216

1317
bs = basis_set(dag)
1418
display(bs)
1519

16-
as = adjustment_sets(dag, :u, :s2)
20+
as = adjustment_sets(dag, :x2, :y)
1721
display(as)

0 commit comments

Comments
 (0)