def repr_dict(self):
        "Return compact dictionary representing this interval mapping"
        s = self.srcPath.repr_dict() # GET REPR OF BOTH INTERVALS
        d = self.destPath.repr_dict()
        out= {}
        for k, val in s.items(): # ADD PREFIX TO EACH ATTR
            out['src_' + k] = val
            out['dest_' + k] = d[k]
        try:
            e = self.edgeInfo.repr_dict() # GET EDGE INFO IF PRESENT
        except __HOLE__:
            pass
        else:
            out.update(e) # SAVE EDGE INFO DATA
        return out
dataset/ETHPy150Open cjlee112/pygr/pygr/sequence.py/IntervalTransform.repr_dict