def _get_mode(steps, mode):
    mode = mode - 1
    res = steps[mode:] + steps[:mode]
    return res
Gets the correct mode step list by rotating the list
dataset/ETHPy150Open jdan/Melopy/melopy/scales.py/_get_mode