Skip to content

Check that phenotypic features are descendants of *Phenotypic abnormality* #14

@ielis

Description

@ielis

For correctness of the results, we should ensure that all analyzed phenotypic features are descendants of Phenotypic abnormality.

This check is best done at the time when Sample is created. We must ensure that Sample is instantiated from sanitized/valid data.

In the context of the code base, the validation should be done in sumsim.io.read_phenopacket('path/to/phenopacket.json'), right after loading phenopacket. It is a bit ugly for "production", but acceptable for prototyping.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions