utils/RfamDB.py
def disconnect(cnx):
    """
    Closes a database connection

    cnx: MySQL connection object
    """

    try:
        cnx.close()

    except Exception as e:
        print("Error closing database connection: {0}".format(e))
        logging.debug("Error closing database connection: {0}".format(e))

    Closes a database connection

    cnx: MySQL connection object
    
Closes a database connection
cnx: MySQL connection object
Closes a database connection cnx : MySQL connection object
def disconnect(cnx):
    try:
        cnx.close()
    except Exception as e:
        print("Error closing database connection: {0}".format(e))
        logging.debug("Error closing database connection: {0}".format(e))
def disconnect ( cnx ) : try : cnx . close ( ) except Exception as e : print ( "Error closing database connection: {0}" . format ( e ) ) logging . debug ( "Error closing database connection: {0}" . format ( e ) )
Closes a database connection
cnx: MySQL connection object
Closes a database connection cnx : MySQL connection object
"""
    Closes a database connection

    cnx: MySQL connection object
    """
cnx