e456cc88392f8cc0587b8d79c08678dab0b36e44,oddt/toolkits/extras/rdkit.py,,MolToPDBQTBlock,#,289

Before 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

After Change


            mol_rigid_frags = Chem.FragmentOnBonds(mol, bond_ids, addDummies=False)
        else:
            mol_rigid_frags = mol
        frags = list(Chem.GetMolFrags(mol_rigid_frags))

        def weigh_frags(frag):
            sort by the fragment size and the number of bonds (secondary)
            num_bonds = 0
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: oddt/oddt
Commit Name: e456cc88392f8cc0587b8d79c08678dab0b36e44
Time: 2017-11-23
Author: maciek@wojcikowski.pl
File Name: oddt/toolkits/extras/rdkit.py
Class Name:
Method Name: MolToPDBQTBlock


Project Name: WheatonCS/Lexos
Commit Name: 1a8e10d0a88e25aa8b3ca9d7ea31225439d348a7
Time: 2017-08-07
Author: weltch1997@gmail.com
File Name: lexos/processors/analyze/topword.py
Class Name:
Method Name: analyze_para_to_group


Project Name: scikit-optimize/scikit-optimize
Commit Name: 544875dd8a7fea49a86e5623d37274159b4ba7b5
Time: 2017-01-10
Author: betatim@gmail.com
File Name: skopt/optimizer/base.py
Class Name:
Method Name: base_minimize