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

Blank lines in fasta don't have a useful error message #16

Open
Jessime opened this issue Jul 24, 2020 · 0 comments
Open

Blank lines in fasta don't have a useful error message #16

Jessime opened this issue Jul 24, 2020 · 0 comments

Comments

@Jessime
Copy link
Contributor

Jessime commented Jul 24, 2020

Blank lines in fasta files seems to be a fairly common failure mode, but the error message is just:

  File "/Users/maurocalabrese/anaconda3/lib/python3.7/site-packages/seekr/fasta_reader.py", line 53, in _upper_seq_per_line
    if line[0] == '>':
IndexError: string index out of range

It'd be nice to report what line number is blank so the user doesn't have to go searching.

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