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

IndexError: list index out of range #241

Open
ktmeaton opened this issue Apr 18, 2023 · 0 comments
Open

IndexError: list index out of range #241

ktmeaton opened this issue Apr 18, 2023 · 0 comments

Comments

@ktmeaton
Copy link
Owner

ktmeaton commented Apr 18, 2023

Error in rule sc2rf_recombinants

File "ncov-recombinant/sc2rf/postprocess.py", line 1334 in main
l_node = [c for c in tree.find_clades(l)][0]
IndexError: list index out of range

I think the solution is to use if else statements to check whether we actually found the lineage in the tree.

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