011baffb01f3d8c07810c7aae50202b5b45fe8c1,src/biotite/structure/compare.py,,_sq_euclidian,#Any#Any#,120

Before Change


        returned.
        In this case the first dimension indexes the AtomArray.
    
    if type(reference) != AtomArray:
        raise ValueError("Reference must be AtomArray")
    dif = subject.coord - reference.coord
    return vector_dot(dif, dif)

After Change


        returned.
        In this case the first dimension indexes the AtomArray.
    
    reference_coord = coord(reference)
    subject_coord = coord(subject)
    if reference_coord.ndim != 2:
        raise TypeError(
            "Expected an AtomArray or an ndarray with shape (n,3) as reference"
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: biotite-dev/biotite
Commit Name: 011baffb01f3d8c07810c7aae50202b5b45fe8c1
Time: 2019-10-10
Author: patrick.kunzm@gmail.com
File Name: src/biotite/structure/compare.py
Class Name:
Method Name: _sq_euclidian


Project Name: biotite-dev/biotite
Commit Name: 488648668508037f84a6ac91017ba2daca223d54
Time: 2019-11-26
Author: patrick.kunzm@gmail.com
File Name: src/biotite/structure/transform.py
Class Name:
Method Name: rotate


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