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

Collections within variants throws difficult to interpret error #159

Open
baxelson12 opened this issue Apr 22, 2023 · 1 comment
Open

Collections within variants throws difficult to interpret error #159

baxelson12 opened this issue Apr 22, 2023 · 1 comment

Comments

@baxelson12
Copy link

baxelson12 commented Apr 22, 2023

Hi, greatly appreciate the hard work placed into this package! Today, I stumbled upon an issue where having collections within a given variant throws an error complaining about the list index ( list index out of range ). You can see the following image of the structure for reference:
image

It appears to be a recursion issue - I believe the following link contains the logic for determining the project heirarchy.

def traverse_tree(t):

Looks like it needs a stop condition once it finds a variant so it doesn't go deeper. The alternative solution could be checking the variants and throwing a more descriptive error that this isn't allowed, or adding this req to the docs.

Please let me know if you need anything else! My python is a bit rusty, but I may be able to submit a PR in my free time if necessary.

Regards,
Brad

@cjwmaya
Copy link

cjwmaya commented Apr 22, 2023 via email

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