Skip to content

Commit

Permalink
made documentation changes
Browse files Browse the repository at this point in the history
Signed-off-by: Aryan Roy <[email protected]>
  • Loading branch information
aryan26roy committed Jul 15, 2024
1 parent 0ce6f9f commit 7d7ec44
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions doc/reference/algorithms/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ Core Algorithms
possible_descendants
discriminating_path
is_definite_noncollider
valid_pag
mag_to_pag
pag_to_mag
check_pag_definition

.. currentmodule:: pywhy_graphs.networkx

Expand Down
7 changes: 6 additions & 1 deletion pywhy_graphs/algorithms/pag.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
has_adc,
inducing_path,
single_source_shortest_mixed_path,
valid_mag,
valid_mag
)
from pywhy_graphs.typing import Node, TsNode

Expand All @@ -30,6 +30,7 @@
"pag_to_mag",
"check_pag_definition",
"valid_pag",
"mag_to_pag"
]


Expand Down Expand Up @@ -1367,6 +1368,10 @@ def valid_pag(G: PAG):
-------
is_valid : bool
Boolean indicating whether the provided PAG is valid or not.
References
----------
.. footbibliography::
"""

interim_bool = False
Expand Down

0 comments on commit 7d7ec44

Please sign in to comment.