def _get_mode(steps, mode):
    mode = mode - 1
    res = steps[mode:] + steps[:mode]
    return res
Verify save isn't overwriting any temporary files.
dataset/ETHPy150Open jdan/Melopy/melopy/scales.py/_get_mode--crossover with--dataset/ETHPy150Open letsencrypt/letsencrypt/certbot/reverter.py/Reverter._check_tempfile_saves