scripts/validation/fam_view_validator.py
def check_ss_images(cnx_obj, no_fams):
    '''
        Checks that secondary structure images have been generated for all
        new families and returns True or False accordingly.
    '''

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

    cursor = cnx_obj.cursor(buffered=True)
    cursor.execute(query)

        Checks that secondary structure images have been generated for all
        new families and returns True or False accordingly.
    
Checks that secondary structure images have been generated for all
new families and returns True or False accordingly.
Checks that secondary structure images have been generated for all new families and returns True or False accordingly .
def check_ss_images(cnx_obj, no_fams):
    query = ("SELECT ss.type,count(*)\n"
             "FROM secondary_structure_image ss, family f\n"
             "WHERE f.rfam_acc=ss.rfam_acc\n"
             "AND ss.image is not NULL\n"
             "AND f.author like \'%Arga%\'\n"
             "GROUP BY ss.type")
    cursor = cnx_obj.cursor(buffered=True)
    cursor.execute(query)
def check_ss_images ( cnx_obj , no_fams ) : query = ( "SELECT ss.type,count(*)\n" "FROM secondary_structure_image ss, family f\n" "WHERE f.rfam_acc=ss.rfam_acc\n" "AND ss.image is not NULL\n" "AND f.author like \'%Arga%\'\n" "GROUP BY ss.type" ) cursor = cnx_obj . cursor ( buffered = True ) cursor . execute ( query )
Checks that secondary structure images have been generated for all
new families and returns True or False accordingly.
Checks that secondary structure images have been generated for all new families and returns True or False accordingly .
'''
        Checks that secondary structure images have been generated for all
        new families and returns True or False accordingly.
    '''
cnx_obj
no_fams