def get_chroms(self):
        """Return the chromsomes of the gene annotation table"""
        
        try:
            chroms=self.table.keys()
        except __HOLE__:
            raise Exception('Empty gene annotation table')
        
        return sort_chroms(chroms)
dataset/ETHPy150Open taoliu/taolib/Assoc/inout.py/GeneTable.get_chroms