def getGeneBin(self): """ Get bins for gene coordination conversion """ if not hasattr(self, 'GeneBin'): self.GeneBin = CoorFunc.binize_Gene(self, bw=100000) return self.GeneBin
def getGeneBin(self): if hasattr(self, 'GeneBin'): pass else: self.GeneBin = CoorFunc.binize_Gene(self, bw=100000) return self.GeneBin