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

[BUG] Some nodes may be parents of themselves #1

Open
levnikmyskin opened this issue Jun 16, 2020 · 0 comments
Open

[BUG] Some nodes may be parents of themselves #1

levnikmyskin opened this issue Jun 16, 2020 · 0 comments

Comments

@levnikmyskin
Copy link
Owner

As per the title, when not following the "preferred" parents path, some nodes may end up having themselves as their own ancestor. This will lead to an infinite loop in the hierarchy construction (and will bring to a segmentation fault in the Python module).

For instance, subject 300036794 has subject 300212545 among its additional parents. Subject 300212545 has then subject 300036794 among its additional ancestors, creating an infinite loop.

This doesn't seem to happen if one follows the "preferred" hierarchy only and one simple but bad solution might be to reconstruct this type of hierarchy only. Something else should be thought out to deal with such problems

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

1 participant