5bb852f9c85cf39dfee5a92d9fc8e1f36ad38b02,src/biotite/structure/basepairs.py,,base_pairs,#Any#Any#Any#,509

Before Change


    basepairs_hbonds = []

    for base1_index, base2_index in basepair_candidates:
        base1_mask, base2_mask = get_residue_masks(
            atom_array, (base1_index, base2_index)
        )
        base1 = atom_array[base1_mask]
        base2 = atom_array[base2_mask]
        hbonds =  _check_dssr_criteria(
            (base1, base2), min_atoms_per_base, unique

After Change


    basepairs_hbonds = []

    // Get the residue masks for each residue
    base_masks = get_residue_masks(atom_array, basepair_candidates.flatten())

    // Group every two masks together for easy iteration (each "row" is
    // respective to a row in basepair_candidates)
    base_masks = base_masks.reshape(
        (basepair_candidates.shape[0], 2, atom_array.shape[0])
    )

    for (base1_index, base2_index), (base1_mask, base2_mask) in zip(
        basepair_candidates, base_masks
    ):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 12

Instances


Project Name: biotite-dev/biotite
Commit Name: 5bb852f9c85cf39dfee5a92d9fc8e1f36ad38b02
Time: 2020-11-09
Author: tom.mueller@beachouse.de
File Name: src/biotite/structure/basepairs.py
Class Name:
Method Name: base_pairs


Project Name: biotite-dev/biotite
Commit Name: 6e559b97972c281555c5ee5613d8c5e373e9f416
Time: 2020-11-10
Author: tom.mueller@beachouse.de
File Name: src/biotite/structure/basepairs.py
Class Name:
Method Name: base_pairs_edge


Project Name: biotite-dev/biotite
Commit Name: e6ce6af0a7f2c230129b7a73a0e9e88ce72b12e9
Time: 2020-11-09
Author: tom.mueller@beachouse.de
File Name: src/biotite/structure/basepairs.py
Class Name:
Method Name: base_stacking


Project Name: biotite-dev/biotite
Commit Name: 5bb852f9c85cf39dfee5a92d9fc8e1f36ad38b02
Time: 2020-11-09
Author: tom.mueller@beachouse.de
File Name: src/biotite/structure/basepairs.py
Class Name:
Method Name: base_pairs