24b27595225e3c1611adf86d1bbb333261260520,prody/database/pfam.py,,parsePfamPDBs,#Any#,419

Before Change



    ags = list(ags)
    for i, ag in enumerate(ags):
        ags[i] = ag.select("resnum {0} to {1}".format(
            data_dicts[i]["PdbRange"].split("-")[0],
            data_dicts[i]["PdbRange"].split("-")[1])).copy()
    ags = tuple(ags)
    
    if header:

After Change


    ags = list(ags)
    for i, ag in enumerate(ags):
        pdbRange = data_dicts[i]["PdbRange"].split("-")
        ags[i] = ag.select("resnum {0} to {1}".format(
                           pdbRange[0], pdbRange[1]))
    ags = tuple(ags)
    
    if header:
        results = ags, headers
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: prody/ProDy
Commit Name: 24b27595225e3c1611adf86d1bbb333261260520
Time: 2018-04-19
Author: shz66@pitt.edu
File Name: prody/database/pfam.py
Class Name:
Method Name: parsePfamPDBs


Project Name: prody/ProDy
Commit Name: 7ca79b945accfbf1c5e435eac1e9e25c0d808272
Time: 2018-02-19
Author: jamesmkrieger@gmail.com
File Name: prody/proteins/blastpdb.py
Class Name:
Method Name: blastPDB


Project Name: pantsbuild/pants
Commit Name: 4757f9677adfec90a399cb92227fe4686faefcc2
Time: 2018-05-14
Author: 1305167+cosmicexplorer@users.noreply.github.com
File Name: src/python/pants/binaries/binary_tool.py
Class Name: BinaryToolBase
Method Name: _select_for_version