a018813b84abfe68d1d2514fc123df07560002ae,src/biotite/structure/rdf.py,,rdf,#Any#Any#Any#Any#Any#Any#Any#,17

Before Change



    if isinstance(atoms, AtomArray):
        atoms = stack([atoms])
    if isinstance(center, AtomArray):
        center = stack([center])
    elif isinstance(center, Atom):
        center = stack(array([center]))
    if isinstance(center, AtomArrayStack):
        center = center.coord

    if box.shape[0] != center.shape[0] or box.shape[0] != len(atoms):

After Change


    if center.ndim == 1:
        center = center.reshape((1, 1) + center.shape)
    elif center.ndim == 2:
        center = center.reshape((1) + center.shape)
    
    if box.shape[0] != center.shape[0] or box.shape[0] != atom_coord.shape[0]:
        raise ValueError(
            "Center, box, and atoms must have the same model count"
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: biotite-dev/biotite
Commit Name: a018813b84abfe68d1d2514fc123df07560002ae
Time: 2019-02-07
Author: patrick.kunzm@gmail.com
File Name: src/biotite/structure/rdf.py
Class Name:
Method Name: rdf


Project Name: ncullen93/torchsample
Commit Name: 6ddf825a4aa1bcf3a35bba8d36bc433fe5ebaa39
Time: 2017-04-24
Author: ncullen@Nicks-MacBook-Pro.local
File Name: torchsample/utils.py
Class Name:
Method Name: th_iterproduct


Project Name: tensorflow/transform
Commit Name: 8c3f8e1083d35c4a6e04af2352fd179dc73c3f9d
Time: 2019-06-05
Author: askerryryan@google.com
File Name: tensorflow_transform/analyzers.py
Class Name:
Method Name: vocabulary


Project Name: adalca/neuron
Commit Name: 9bcf05406490ca72b698db24636e5f2a51a5c82a
Time: 2017-06-14
Author: adalca@sumac.csail.mit.edu
File Name: neuron/utils.py
Class Name:
Method Name: prob_of_label