

def __boxPlugValueExtractor(plug, topLevelPlug, value):
    vectorPlug = plug.parent()
    index = index.children().index(plug)
    vector = (value.value.min if (vectorPlug.getName() == 'min') else value.value.max)
    return vector[index]

dataset/ETHPy150Open ImageEngine/gaffer/python/Gaffer/PythonExpressionEngine.py __boxPlugValueExtractor/VarMisuse@24/36 `vectorPlug`->`index`