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



    // if flexible molecule contains multiple fragments write them separately
    if flexible and len(Chem.GetMolFrags(mol)) > 1:
        return "".join(MolToPDBQTBlock(frag, flexible=flexible, addHs=addHs,
                                       computeCharges=computeCharges)
                       for frag in Chem.GetMolFrags(mol, asMols=True))

    // Identify donors and acceptors for atom typing
    // Acceptors
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: ilastik/ilastik
Commit Name: 558f030de16f0e3ea4ce860aac0d085faad99441
Time: 2019-08-13
Author: k-dominik@users.noreply.github.com
File Name: ilastik/applets/batchProcessing/batchProcessingGui.py
Class Name: BatchProcessingGui
Method Name: run_export


Project Name: mariogeiger/se3cnn
Commit Name: 3546a561f0f902095d4c080ca39f7f0776e52f4f
Time: 2019-08-05
Author: geiger.mario@gmail.com
File Name: se3cnn/non_linearities/gated_block.py
Class Name: GatedBlock
Method Name: __init__