def set_uid(self):
        if self.gid:
            try:
                os.setgid(self.gid)
            except OSError, (code, message):
                sys.exit("can't setgid(%d): %s, %s" %
                (self.gid, code, message))
        if self.uid:
            try:
                os.setuid(self.uid)
            except OSError, (code, message):
                sys.exit("can't setuid(%d): %s, %s" %
                (self.uid, code, message))
Parse the provided transcript, extract exon data from it
dataset/ETHPy150Open kiberpipa/Intranet/pipa/ltsp/src/ltsp_usage_monitor/daemon.py/Daemon.set_uid--crossover with--dataset/ETHPy150Open cjlee112/pygr/pygr/apps/ucsc_ensembl_annot.py/EnsemblTranscriptAnnotationSeq.get_exon_slices