e494b3f14c9888d1b1c28a7a17305d9904928ae1,pymc3/model.py,,Point,#,385

Before Change


    try:
        d = dict(*args, **kwargs)
    except Exception as e:
        raise TypeError(
            "can"t turn " + str(args) + " and " + str(kwargs) +
            " into a dict. " + str(e))

    varnames = list(map(str, model.vars))
    return dict((str(k), np.array(v))
                for (k, v) in d.items()

After Change


        arguments to build a dict
    
    model = modelcontext(kwargs.pop("model", None))
    args = list(args)
    try:
        d = dict(*args, **kwargs)
    except Exception as e:
        raise TypeError(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pymc-devs/pymc3
Commit Name: e494b3f14c9888d1b1c28a7a17305d9904928ae1
Time: 2016-02-19
Author: superbobry@gmail.com
File Name: pymc3/model.py
Class Name:
Method Name: Point


Project Name: stellargraph/stellargraph
Commit Name: ab6e91b1b7415b4fa4576a9a581e4febace79759
Time: 2019-02-26
Author: habiba.habiba@data61.csiro.au
File Name: stellargraph/data/unsupervised_sampler.py
Class Name: UnsupervisedSampler
Method Name: __init__


Project Name: prody/ProDy
Commit Name: 8c7303cf0c49de8b8a18a101876f0eed9155ab90
Time: 2018-03-04
Author: jamesmkrieger@gmail.com
File Name: prody/ensemble/functions.py
Class Name:
Method Name: buildPDBEnsemble