58820b8cdc60dfd492430246b03abc0845b0e470,rdkit_fixer.py,,UFFConstrainedOptimize,#,127

Before Change


    ff = UFFGetMoleculeForceField(submol, vdwThresh=cutoff,
                                  ignoreInterfragInteractions=False)
    for i in fixed_atoms:
        if i in amap:
            ff.AddFixedPoint(amap.index(i))
    ff.Initialize()
    ff.Minimize(energyTol=1e-2, forceTol=1e-2, maxIts=200)

    // get the positions backbone

After Change


    Chem.GetSSSR(submol)
    ff = UFFGetMoleculeForceField(submol, vdwThresh=cutoff,
                                  ignoreInterfragInteractions=False)
    for i, atom_id in enumerate(amap):
        if atom_id not in moving_atoms:
            ff.AddFixedPoint(i)
    ff.Initialize()
    ff.Minimize(energyTol=1e-2, forceTol=1e-2, maxIts=200)

    // get the positions backbone
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: oddt/oddt
Commit Name: 58820b8cdc60dfd492430246b03abc0845b0e470
Time: 2018-05-17
Author: maciek@wojcikowski.pl
File Name: rdkit_fixer.py
Class Name:
Method Name: UFFConstrainedOptimize


Project Name: jazzband/django-debug-toolbar
Commit Name: 5d095f66fde8f10b45a93c0b35be0a85762b0458
Time: 2019-06-20
Author: jon.dufresne@gmail.com
File Name: debug_toolbar/panels/templates/panel.py
Class Name: TemplatesPanel
Method Name: _store_template_info


Project Name: pgmpy/pgmpy
Commit Name: b384268df66742de0bc92a13db162b8409dda730
Time: 2019-04-19
Author: ankurankan@gmail.com
File Name: pgmpy/readwrite/BIF.py
Class Name: BIFReader
Method Name: get_values