1675e2873db77528ef1dee6fc49aaccfca9a369b,src/biotite/structure/dotbracket.py,,dot_bracket,#Any#Any#Any#,60

Before Change



    // Each optimal pseudoknot order solution is represented in
    // dot-bracket-notation
    notations = [""]*len(pseudoknot_order)

    for s, solution in enumerate(pseudoknot_order):
        // Bases whose partners have an opened bracket
        opened_brackets = set()

After Change



    // Each optimal pseudoknot order solution is represented in
    // dot-bracket-notation
    notations = [
        bytearray(("."*length).encode()) for _ in range(len(pseudoknot_order))
    ]
    for s, solution in enumerate(pseudoknot_order):
        for basepair, order in zip(basepairs, solution):
            notations[s][basepair[0]] = _OPENING_BRACKETS_BYTES[order]
            notations[s][basepair[1]] = _CLOSING_BRACKETS_BYTES[order]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: biotite-dev/biotite
Commit Name: 1675e2873db77528ef1dee6fc49aaccfca9a369b
Time: 2020-11-27
Author: tom.mueller@beachouse.de
File Name: src/biotite/structure/dotbracket.py
Class Name:
Method Name: dot_bracket


Project Name: dask/distributed
Commit Name: 383ea0326ae103b5d5e0b62ed9c3cb18510c5b9e
Time: 2021-02-17
Author: jakirkham@gmail.com
File Name: distributed/comm/tcp.py
Class Name: TCP
Method Name: read


Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: 650e988820247c2675e555b13a678a80ffe1bfc9
Time: 2017-08-17
Author: Andrew.Rowley@manchester.ac.uk
File Name: unittests/model_tests/neuron/test_synaptic_manager.py
Class Name: TestSynapticManager
Method Name: test_retrieve_synaptic_block