Given a string containng genes, return a list.

def get_genes(genes_str):
        """Given a string containng genes, return a list."""
        gene_set = genes_str.split(', ')
        if gene_set and gene_set[0].isdigit():
            gene_set = set(int(g) for g in gene_set)
        return gene_set