3a0e50cab6a6dd474e90eb99e501b8d1233faa1f,elfi/v2/executor.py,Executor,_run,#Any#Any#Any#,36

Before Change


        outputs = []; obs = []
        for parent_name in G.predecessors(nodename):
            p_attr = G.node[parent_name]
            outputs.append(p_attr["output"])
            //obs.append(p_attr["observed"])
        return fn(*outputs, n=G.graph["n"])

After Change


            else:
                kwargs[param] = output

        args = [a[1] for a in sorted(args, key=itemgetter(0))]
        kwargs["n"] = G.graph["n"]

        return fn(*args, **kwargs)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: elfi-dev/elfi
Commit Name: 3a0e50cab6a6dd474e90eb99e501b8d1233faa1f
Time: 2017-02-09
Author: jarno.lintusaari@aalto.fi
File Name: elfi/v2/executor.py
Class Name: Executor
Method Name: _run


Project Name: biocore/scikit-bio
Commit Name: 79abb6cd899d2004bcf95778ebbda06c8b4a0f91
Time: 2015-12-08
Author: mcdonadt@colorado.edu
File Name: skbio/tree/_tree.py
Class Name: TreeNode
Method Name: _set_max_distance


Project Name: biolab/orange3
Commit Name: 9c4abcc2ccb26adc84f0ae4cf8ae4ea62f756dc0
Time: 2015-02-11
Author: lan.zagar@fri.uni-lj.si
File Name: Orange/preprocess/fss.py
Class Name: FeatureSelector
Method Name: __call__