def METHOD_NAME():
    """ephys.parameterscalers: eval_dist of NrnSegmentSectionDistanceScaler"""
    dist = '{param1_somatic} + (1 - (abs({distance} - 8) / 4)) * {value}'
    scaler = ephys.parameterscalers.NrnSegmentSectionDistanceScaler(
        distribution=dist)
    _values = {'value': 1, 'param1_somatic': 0.5}
    assert (scaler.eval_dist(values=_values, distance=10)
            == '0.5 + (1 - (abs(10 - 8) / 4)) * 1')