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

Empty metadata assignments read by Nanopore parser lead to arrayOutOfBoundsException #33

Open
wow-such-code opened this issue Jul 14, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@wow-such-code
Copy link
Member

wow-such-code commented Jul 14, 2020

Expected Behaviour

The nanopore parser warns and does not validate data in case metadata fields are empty.

Observed Behaviour

The nanopore parser fails while trying to parse empty metadata fields, without throwing an informative warning

Steps to reproduce

Possible reasons

finalMetaData[split[0]] = split[1]

There are already methods that test if some of the metadata is empty (see finalizeMetadata()), but the aforementioned code runs earlier, leading to an error.

@wow-such-code wow-such-code added the bug Something isn't working label Jul 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant