def _topographic_values(k):
    if k == 8 or k == 9:
        k = -1
    elif 0 > k:
        k = 1
    return k
dataset/ETHPy150Open aheadley/pynemap/pynemap.py/_topographic_values/swapped operands of `>`