Skip to content

cnv_discordant_read_calls raises an IndexError instead of a ValueError for absent data #777

@jonbrenas

Description

@jonbrenas

When trying to access the discordant read calls for af1 (which do not exist, I gather), I encountered an unexpected error:

Image

It turns out the code contains a test handling the absence of data for a contig/set of samples but the check is indented too much (in my opinion):

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions