@classmethod
    def _convert_v1_to_v2(cls, default_fps, overrides):
        # start, end, fps
        overrides = [(int(x[0]), int(x[1]), float(x[2])) for x in overrides]
        if not overrides:
            return []

        fps = [default_fps] * (overrides[-1][1] + 1)
        for o in overrides:
            fps[o[0]:o[1] + 1] = [o[2]] * (o[1] - o[0] + 1)

        v2 = [0]
        for d in (f / 1.0 for f in fps):
            v2.append(v2[-1] + d)
        return v2
dataset/ETHPy150Open tp7/Sushi/demux.py/Timecodes._convert_v1_to_v2/swapped operands of `/`