c1f7c876399b3b5859d50175c3c349b237c3e714,src/biotite/structure/residues.py,,apply_residue_wise,#Any#Any#Any#Any#,53

Before Change


        // Determine length of interval
        // When first condition fails the second one is not checked,
        // otherwise the second condition could throw IndexError
        while stop < len(ids) and ids[stop] == ids[start]:
            stop += 1
        interval = data[start:stop]
        if axis == None:

After Change


            value = function(interval)
        else:
            value = function(interval, axis=axis)
        value = function(interval, axis=axis)
        // Identify the shape of the resulting array by evaluation
        // of the function return value for the first interval
        if processed_data is None:
            if isinstance(value, np.ndarray):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: biotite-dev/biotite
Commit Name: c1f7c876399b3b5859d50175c3c349b237c3e714
Time: 2018-03-23
Author: patrick.kunzm@gmail.com
File Name: src/biotite/structure/residues.py
Class Name:
Method Name: apply_residue_wise


Project Name: reinforceio/tensorforce
Commit Name: 8a38392dadffb37e2d122e7f7ce8b638e063bf80
Time: 2017-07-07
Author: aok25@cl.cam.ac.uk
File Name: tensorforce/models/policy_gradient_model.py
Class Name: PolicyGradientModel
Method Name: __init__


Project Name: raghakot/keras-vis
Commit Name: 1cfa7fe6827b8e83ddd92d5d822277f6b7a77c39
Time: 2016-12-12
Author: ragha@outlook.com
File Name: optimizer.py
Class Name: Optimizer
Method Name: __init__