scripts/validation/fam_view_validator.py
def check_sunburst(cnx_obj):
    '''
        Looks up sunburst table and checks that there're entries for all
        families in the view process.
    '''
    # families number or get that dynamically

    query = ("SELECT s.type,count(*)\n"
             "FROM sunburst s, family f\n"
             "WHERE f.rfam_acc=s.rfam_acc\n"
             "AND s.data is not NULL\n"
             "AND f.author like \'%Arga%\'\n"
             "GROUP BY s.type")

    # TO BE IMPLEMENTED

        Looks up sunburst table and checks that there're entries for all
        families in the view process.
    
Looks up sunburst table and checks that there're entries for all
families in the view process.
Looks up sunburst table and checks that there ' re entries for all families in the view process .
def check_sunburst(cnx_obj):
    query = ("SELECT s.type,count(*)\n"
             "FROM sunburst s, family f\n"
             "WHERE f.rfam_acc=s.rfam_acc\n"
             "AND s.data is not NULL\n"
             "AND f.author like \'%Arga%\'\n"
             "GROUP BY s.type")
def check_sunburst ( cnx_obj ) : query = ( "SELECT s.type,count(*)\n" "FROM sunburst s, family f\n" "WHERE f.rfam_acc=s.rfam_acc\n" "AND s.data is not NULL\n" "AND f.author like \'%Arga%\'\n" "GROUP BY s.type" )
Looks up sunburst table and checks that there're entries for all
families in the view process.
Looks up sunburst table and checks that there ' re entries for all families in the view process .
'''
        Looks up sunburst table and checks that there're entries for all
        families in the view process.
    ''' # families number or get that dynamically # TO BE IMPLEMENTED
cnx_obj