Skip to content

Commit

Permalink
Merge branch 'aryan_valid_pag' of github.com:aryan26roy/pywhy-graphs …
Browse files Browse the repository at this point in the history
…into aryan_valid_pag
  • Loading branch information
adam2392 committed Jul 8, 2024
2 parents 6f23fa0 + a50ee62 commit 5df836f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pywhy_graphs/algorithms/pag.py
Original file line number Diff line number Diff line change
Expand Up @@ -1295,9 +1295,7 @@ def mag_to_pag(G: PAG):
from dodiscover.ci import Oracle
from dodiscover.constraint.utils import dummy_sample
except ImportError as e:
raise ImportError(
"The 'dodiscover' package is required to convert a MAG to a PAG."
)
raise ImportError("The 'dodiscover' package is required to convert a MAG to a PAG.")

data = dummy_sample(G)
oracle = Oracle(G)
Expand Down

0 comments on commit 5df836f

Please sign in to comment.