def get_chroms(self):
        """Return the chromosomes"""
        try:
            chroms=self.bed.keys()
        except __HOLE__:
            raise Exception('Empty bed')
        
        return sort_chroms(chroms)
dataset/ETHPy150Open taoliu/taolib/Assoc/inout.py/Bed.get_chroms