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: 5

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: fgnt/pb_bss
Commit Name: 2cfa9aa576ae7544f76e66854edd304690a5822b
Time: 2019-08-08
Author: mail@lukas-drude.de
File Name: paderbox/speech_enhancement/beamformer_wrapper.py
Class Name:
Method Name: get_multi_source_bf_vector_from_masks


Project Name: D2KLab/entity2rec
Commit Name: 1783757d1d5f62d2398d1f8df2cd71b4c3113b6f
Time: 2018-01-22
Author: enricopalumbo0@gmail.com
File Name: entity2rec/evaluator.py
Class Name: Evaluator
Method Name: features