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

Throw error if manual color ids are not integers #37

Open
jnalanko opened this issue Jun 4, 2024 · 0 comments
Open

Throw error if manual color ids are not integers #37

jnalanko opened this issue Jun 4, 2024 · 0 comments

Comments

@jnalanko
Copy link
Collaborator

jnalanko commented Jun 4, 2024

The manual color file option expects a file with one integer per line. If the line something else than a number, Themisto will not crash but will instead produce garbage results. We should crash instead with an error message.

Checking for invalid input may lead to worse performance though, but the color file should be quite small typically compared to the full sequence data, so this error check is worth the cost.

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