def text_to_node(text, lineno=None):
    modnode = ast.parse(text, 'exec')
    if len(modnode.body) == 1:
        node = modnode.body[0]
    else:
        node = modnode.body

    # If specified, fixup line numbers.
    if lineno is not None:
        node.lineno = lineno
        node.col_offset = 0
        for child in ast.iter_child_nodes(node):
            child.lineno = lineno
            child.col_offset = 0

    return node
Selects a box for the experiment, with the correct distribution.
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.util/src/openmdao/util/astutil.py/text_to_node--crossover with--dataset/ETHPy150Open ViDA-NYU/reprozip/reprounzip-vagrant/reprounzip/unpackers/vagrant/__init__.py/select_box