scout/server/blueprints/variants/controllers.py
def callers(variant_obj, category='snv'):
    """Return info about callers."""
    calls = set()
    for caller in CALLERS[category]:
        if variant_obj.get(caller['id']):
            calls.add((caller['name'], variant_obj[caller['id']]))

    return list(calls)
def callers(variant_obj, category='snv'):
    calls = set()
    for caller in CALLERS[category]:
        if variant_obj.get(caller['id']):
            calls.add((caller['name'], variant_obj[caller['id']]))

    return list(calls)
def callers ( variant_obj , category = 'snv' ) : calls = set ( ) for caller in CALLERS [ category ] : if variant_obj . get ( caller [ 'id' ] ) : calls . add ( ( caller [ 'name' ] , variant_obj [ caller [ 'id' ] ] ) ) return list ( calls )
Return info about callers.
Return info about callers .