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: rank undefined issue #98

Merged
merged 1 commit into from
Jan 2, 2025
Merged

Conversation

snjlee58
Copy link
Collaborator

@snjlee58 snjlee58 commented Jan 2, 2025

Cause of error:

  • There was an issue in the case where there is more than one superkingdoms. In the process of backtracking the list to find the lineage of the second superkingdom, it would produce an undefined object because there superkingdom is the highest rank in the sankey.

Fix:

  • Added a check for undefined or null.

Note to reviewer:

  • I only checked that the sankey is drawn and rendered correctly with the taxonomy report file. Needs check to make sure selecting the nodes filters hits correctly.

@milot-mirdita milot-mirdita merged commit 0ee170d into soedinglab:master Jan 2, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants