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

fix_tree.py: ValueError: list.remove(x): x not in list #299

Open
joverlee521 opened this issue Dec 16, 2024 · 0 comments
Open

fix_tree.py: ValueError: list.remove(x): x not in list #299

joverlee521 opened this issue Dec 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@joverlee521
Copy link
Contributor

Error was originally reported on 25 July 2024 via Slack, with #264 was an attempt to work around the bug.

The automated hmpxv1-big build also ran into the error on 14 December 2024:

[batch] [2024-12-14T18:36:07+00:00] Traceback (most recent call last):
[batch] [2024-12-14T18:36:07+00:00]   File "/nextstrain/build/phylogenetic/scripts/fix_tree.py", line 63, in <module>
[batch] [2024-12-14T18:36:07+00:00]        	  reconstructions: 8981
[batch] [2024-12-14T18:36:07+00:00]     reversion["child"].clades.remove(reversion["grandchild"])
[batch] [2024-12-14T18:36:07+00:00] ValueError: list.remove(x): x not in list

Seems like a stochastic error since the re-run of the hmpxv1-big build has successfully finished the fix_tree step.

@joverlee521 joverlee521 added the bug Something isn't working label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant