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

better error message for bad suffix #372

Open
AlessioMilanese opened this issue Jun 21, 2020 · 0 comments
Open

better error message for bad suffix #372

AlessioMilanese opened this issue Jun 21, 2020 · 0 comments

Comments

@AlessioMilanese
Copy link

When running:

pplacer -c my.refpkg test.fasta2 

I got the following error:

Uncaught exception: Failure("unfamiliar suffix on test.fasta2")
Running pplacer v1.1.alpha19-0-g807f6f3 analysis on test.fasta2...
Fatal error: exception Failure("unfamiliar suffix on test.fasta2")

I had to go into the code:
https://github.com/matsen/pplacer/blob/master/common_src/alignment.ml#L70

and see why I got this error. I would change to:
Unrecognized file extension. Supported file extensions: ".fasta", ".fa", ".sth", ".sto"

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