From b07846a65adb80d2b15d0fd14b25a821ddf26a6d Mon Sep 17 00:00:00 2001 From: Aryan Roy <50577809+aryan26roy@users.noreply.github.com> Date: Thu, 17 Aug 2023 20:03:35 +0530 Subject: [PATCH] Update pywhy_graphs/algorithms/generic.py Co-authored-by: Adam Li Signed-off-by: Aryan Roy <50577809+aryan26roy@users.noreply.github.com> --- pywhy_graphs/algorithms/generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pywhy_graphs/algorithms/generic.py b/pywhy_graphs/algorithms/generic.py index 498f44fd..c61c4225 100644 --- a/pywhy_graphs/algorithms/generic.py +++ b/pywhy_graphs/algorithms/generic.py @@ -642,7 +642,7 @@ def has_adc(G): def valid_mag(G: ADMG, L: set = None, S: set = None): - """Checks if the provided graph is a valid MAG. + """Checks if the provided graph is a valid maximal ancestral graph (MAG). A valid MAG is a mixed edge graph that only has directed and bi-directed edges, no directed or almost directed cycles and no inducing paths between