d9093c699c23b1d72bda53bbc97c8e4ed2ff3055,rdkit_fixer.py,,PreparePDBMol,#,202

Before Change



    for atom in new_mol.GetAtoms():
        info = atom.GetPDBResidueInfo()
        res_id = (info.GetResidueNumber(), info.GetResidueName(), info.GetChainId())
        if res_id not in resiues_atom_map:
            resiues_atom_map[res_id] = []
        resiues_atom_map[res_id].append(atom.GetIdx())

After Change



    for atom in new_mol.GetAtoms():
        info = atom.GetPDBResidueInfo()
        res_id = (info.GetResidueNumber(), info.GetResidueName().strip(),
                  info.GetChainId())
        if res_id not in resiues_atom_map:
            resiues_atom_map[res_id] = []
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


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


Project Name: oddt/oddt
Commit Name: 178b1bc846ab4546c809771ae5fc2484790fd702
Time: 2018-05-17
Author: martasd@ibb.waw.pl
File Name: rdkit_fixer.py
Class Name:
Method Name: IsResidueConnected