9aae219f8ef4f9850cd8ea7001d711bdb54721bf,hypertools/tools/load.py,,load,#Any#Any#Any#Any#Any#Any#,29

Before Change


        if dataset in ("wiki_model", "sotus", "wiki"):
            return data
        else:
            return (analyze(data[0], reduce=reduce, ndims=ndims, align=align, normalize=normalize), data[1])
    else:
        raise RuntimeError("No data loaded. Please specify a .geo file or "
                           "one of the following sample files: weights, "
                           "weights_avg, weights_sample, spiral, mushrooms or "

After Change


            opts.update(dict(align=align))
        if normalize:
            opts.update(dict(normalize=normalize))
        if opts:
            return data.plot(data=data.get_data(), show=False, **opts)
        else:
            return data
    else:
        return analyze(data, reduce=reduce, ndims=ndims, align=align, normalize=normalize)

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: ContextLab/hypertools
Commit Name: 9aae219f8ef4f9850cd8ea7001d711bdb54721bf
Time: 2018-02-22
Author: andrew.heusser@gmail.com
File Name: hypertools/tools/load.py
Class Name:
Method Name: load


Project Name: ContextLab/hypertools
Commit Name: 2df451029d31850d7f5353b3786b875f17f740a5
Time: 2018-04-06
Author: andrew.heusser@gmail.com
File Name: hypertools/tools/load.py
Class Name:
Method Name: load


Project Name: NeuromorphicProcessorProject/snn_toolbox
Commit Name: 068ad611a3c7eb1841ccbe621181787741cb3a46
Time: 2019-04-22
Author: bodo.rueckauer@intel.com
File Name: snntoolbox/simulation/target_simulators/loihi_target_sim.py
Class Name: SNN
Method Name: get_vmem