def get_interp(file_label):
    # default interp
    interp = 'linear'
    # NN interp
    if file_label in param.list_labels_nn:
        interp = 'nn'
    # spline interp
    if param.list_labels_spline in file_label:
        interp = 'spline'
    # output
    return interp


# START PROGRAM
# ==========================================================================================
dataset/ETHPy150Open neuropoly/spinalcordtoolbox/scripts/sct_warp_template.py/get_interp/swapped operands of `in`