Skip to content

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

@wow-such-code

Description

@wow-such-code

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions