scripts/validation/fam_view_validator.py
def check_alignment_and_tree(cnx_obj, no_fams):
    '''
        Checks all types of files for the new families in alignment_and_tree
        table.
    '''

    query = ("SELECT ant.type, count(*)\n"
             "FROM alignment_and_tree ant, family f\n"
             "WHERE f.rfam_acc=ant.rfam_acc\n"
             "AND f.author like \'%Arga%\'\n"
             "GROUP BY ant.type")

    # TO BE IMPLEMENTED

        Checks all types of files for the new families in alignment_and_tree
        table.
    
Checks all types of files for the new families in alignment_and_tree
table.
Checks all types of files for the new families in alignment_and_tree table .
def check_alignment_and_tree(cnx_obj, no_fams):
    query = ("SELECT ant.type, count(*)\n"
             "FROM alignment_and_tree ant, family f\n"
             "WHERE f.rfam_acc=ant.rfam_acc\n"
             "AND f.author like \'%Arga%\'\n"
             "GROUP BY ant.type")
def check_alignment_and_tree ( cnx_obj , no_fams ) : query = ( "SELECT ant.type, count(*)\n" "FROM alignment_and_tree ant, family f\n" "WHERE f.rfam_acc=ant.rfam_acc\n" "AND f.author like \'%Arga%\'\n" "GROUP BY ant.type" )
Checks all types of files for the new families in alignment_and_tree
table.
Checks all types of files for the new families in alignment_and_tree table .
'''
        Checks all types of files for the new families in alignment_and_tree
        table.
    ''' # TO BE IMPLEMENTED
cnx_obj
no_fams