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