Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in satisfies_constraints(...) when using admix and event constraints with find_graphs #46

Open
Tharsikav opened this issue Jul 25, 2023 · 2 comments

Comments

@Tharsikav
Copy link

Tharsikav commented Jul 25, 2023

Hi,
I've been getting the error below when I use both admix_constraints and event_constraints with find_graphs(). It typically appears after the constraints have been satisfied.
Do you have any solutions to this?

Error in filter(., satisfies_constraints(g, nzf4, admixc, eventc)) :
ℹ In argument: satisfies_constraints(g, nzf4, admixc, eventc).
ℹ In row 3.
Caused by error in mutate():
ℹ In argument: ok = satisfies_oneevent(...).
ℹ In row 3.
Caused by error in satisfies_oneevent():
! satisfies_oneevent error

@uqrmaie1
Copy link
Owner

Thanks for pointing that out!
I found one edge case that could trigger this error (earlier1/later1 is a direct descendant of the root node, and earlier2/later2 is NA). That should be fixed now.
If you still get this error, please let me know!

@Tharsikav
Copy link
Author

Amazing, thanks so much! I'll check it out again, and get back to you if any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants