scout/server/blueprints/variants/controllers.py
def expected_inheritance(variant_obj):
    """Gather information from common gene information."""
    manual_models = set()
    for gene in variant_obj.get('genes', []):
        manual_models.update(gene.get('manual_inheritance', []))
    return list(manual_models)
def expected_inheritance(variant_obj):
    manual_models = set()
    for gene in variant_obj.get('genes', []):
        manual_models.update(gene.get('manual_inheritance', []))
    return list(manual_models)
def expected_inheritance ( variant_obj ) : manual_models = set ( ) for gene in variant_obj . get ( 'genes' , [ ] ) : manual_models . update ( gene . get ( 'manual_inheritance' , [ ] ) ) return list ( manual_models )
Gather information from common gene information.
Gather information from common gene information .