Skip to content

Case count for non-existing variant throws TypeError #109

@maehler

Description

@maehler

Would it be reasonable to return inside the first if-statement (L131), or could this break something else?

if not variant:
LOG.info("Variant {0} does not exist in database".format(variant_id))
if case_count:
variant["total"] = nr_cases

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions