1675e2873db77528ef1dee6fc49aaccfca9a369b,src/biotite/structure/dotbracket.py,,dot_bracket,#Any#Any#Any#,60
Before Change
notations[s] += "."
else:
// Get position in ``basepairs`` and ``pseudoknot_order``
bp_pos = np.where(basepairs == pos)[0][0]
if pos in opened_brackets:
notations[s] += _CLOSING_BRACKETS[solution[bp_pos]]
else:
for base in basepairs[bp_pos]:
if base != pos:
opened_brackets.add(base)
notations[s] += _OPENING_BRACKETS[solution[bp_pos]]
return notations
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):
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: tensorflow/tensorboard
Commit Name: 688aabd67aa6a6f098709643b0a5e672a7d0b01f
Time: 2019-06-21
Author: orionr@gmail.com
File Name: tensorboard/summary/writer/record_writer_test.py
Class Name: RecordWriterTest
Method Name: test_record_writer_roundtrip
Project Name: pyinstaller/pyinstaller
Commit Name: bf5b9d3d9401341983c28ccc694f9a251ea9ea5a
Time: 2015-09-01
Author: codewarrior@hawaii.rr.com
File Name: PyInstaller/utils/hooks/hookutils.py
Class Name:
Method Name: __exec_python_cmd