def __mul__(self, other):
        "find intersection of two intervals"
        if isinstance(other, SeqPath):
            if self.path is not other.path:
                return None
            start=max(self.start, other.start)
            stop=min(self.stop, other.stop)
            if stop < start:
                if stop == 0:
                    # Have to handle the boundary case specially because of
                    # Python conventions.
                    stop = None
                return self.classySlice(self.path, start, stop)
            else:
                return None
        else:
            raise TypeError('SeqPath can only intersect SeqPath')
dataset/ETHPy150Open cjlee112/pygr/pygr/sequence.py/SeqPath.__mul__/swapped operands of `<`