1a2b6a95bd94015ba28aa291c97350fc5762d061,oddt/toolkits/extras/rdkit.py,,MolToPDBQTBlock,#Any#Any#Any#Any#,299
Before Change
if old_roots:
current_root = old_roots.pop()
else: // go to next disconnected fragment
next_frag = set(range(len(frag_num))).difference(visited_frags)[0]
current_root = frags[next_frag]
visited_frags.append(next_frag)
// close opened branches if any is open
while len(branch_queue):
After Change
if old_roots:
current_root = old_roots.pop()
else: // go to next disconnected fragment
next_frag = (frag for frag_num, frag in enumerate(frags)
if frag_num not in visited_frags)[0]
current_root = frags[next_frag]
visited_frags.append(next_frag)
// close opened branches if any is open
while len(branch_queue):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: oddt/oddt
Commit Name: 1a2b6a95bd94015ba28aa291c97350fc5762d061
Time: 2017-11-23
Author: maciek@wojcikowski.pl
File Name: oddt/toolkits/extras/rdkit.py
Class Name:
Method Name: MolToPDBQTBlock
Project Name: WZBSocialScienceCenter/tmtoolkit
Commit Name: 9def69a805132ff7549744b5b30a2fa7531fa405
Time: 2019-06-12
Author: markus.konrad@wzb.eu
File Name: tmtoolkit/preprocess/_tmpreproc.py
Class Name: TMPreproc
Method Name: load_tokens_dataframe
Project Name: kengz/SLM-Lab
Commit Name: 9da4e51da0044cfbdcf3a667187d86f0c35ece8e
Time: 2019-05-25
Author: kengzwl@gmail.com
File Name: slm_lab/experiment/analysis.py
Class Name:
Method Name: analyze_experiment