aa5d761c03ea31df01ff51ec3634dd89cd73bec1,oddt/toolkits/extras/rdkit_fixer.py,,UFFConstrainedOptimize,#Any#Any#Any#Any#Any#,138

Before Change


    else:
        fixed_atoms = list(all_atoms.difference(moving_atoms))
    // extract submolecules containing atoms within cutoff
    pos = np.array(mol.GetConformer(-1).GetPositions())
    mask = (cdist(pos, pos[moving_atoms]) <= cutoff).any(axis=1)
    amap = np.where(mask)[0].tolist()

After Change


    else:
        fixed_atoms = list(all_atoms.difference(moving_atoms))
    // extract submolecules containing atoms within cutoff
    mol_conf = mol.GetConformer(-1)
    pos = np.array([mol_conf.GetAtomPosition(i)
                   for i in range(mol_conf.GetNumAtoms())])
    mask = (cdist(pos, pos[moving_atoms]) <= cutoff).any(axis=1)
    amap = np.where(mask)[0].tolist()

    // expand to whole residues
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


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


Project Name: oddt/oddt
Commit Name: 0cd1348f3c432cc2afcc491c06b2b9301d526882
Time: 2018-05-17
Author: maciek@wojcikowski.pl
File Name: rdkit_fixer.py
Class Name:
Method Name: ExtractPocketAndLigand


Project Name: oddt/oddt
Commit Name: 7b721b7c9f51995c90949bc68fa91e657c29b378
Time: 2018-05-17
Author: martasd@ibb.waw.pl
File Name: rdkit_fixer.py
Class Name:
Method Name: AddMissingAtoms