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

parse_results fails with NAs in output #30

Closed
Ulthran opened this issue Sep 25, 2024 · 0 comments · Fixed by #31
Closed

parse_results fails with NAs in output #30

Ulthran opened this issue Sep 25, 2024 · 0 comments · Fixed by #31
Assignees
Labels

Comments

@Ulthran
Copy link
Contributor

Ulthran commented Sep 25, 2024

If there are NAs in the unassigner_output.tsv, parse_results() will fail when trying to cast them to int/float.

Reproduce by running unassign tests/unit/data/gg10.fasta --output_dir out/ and then in Python:

from unassigner.parse import parse_results

list(parse_results('out/unassigner_output.tsv'))
@Ulthran Ulthran added the bug label Sep 25, 2024
@Ulthran Ulthran self-assigned this Sep 25, 2024
@Ulthran Ulthran linked a pull request Sep 26, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant