Returns a dict of variables in the selected run table.
    :param run_name: str, required run table name
    :return: dict -> {<int_keys>: <variable_name>}

def get_variables(run_name):
    """
    Returns a dict of variables in the selected run table.
    :param run_name: str, required run table name
    :return: dict -> {<int_keys>: <variable_name>}
    """
    conn, c = open_data_base_connection()
    try:
        # Get latest project
        c.execute("""SELECT variable_name FROM {}""".format(run_name))
        variable_names = np.array(c.fetchall()).squeeze(axis=1)
        variable_names = convert_list_to_dict(variable_names)
        return variable_names
    except sqlite3.OperationalError:
        logging.info("{} not found".format(run_name))
    finally:
        conn.close()